Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that the TTBR tests do not end just after the feature startup is done #7062

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

tmasternak
Copy link
Member

@tmasternak tmasternak commented Jun 12, 2024

Symptoms

Acceptance tests for TTBR always pass.

Who's affected

None of the users are affected.

Downstream components maintained by Particular using the tests.

Root cause

Acceptance tests for TTBR do not specify Done condition and use the default Done condition i.e. () => true. This causes the test to end immediately, just after the OnStart method of FeatureStartupTask finishes.

As a result, the tests that check if messages with TTBR are not delivered when the expiry time elapses finish with false positive results.

@tmasternak tmasternak self-assigned this Jun 12, 2024
@tmasternak tmasternak merged commit 5e14a51 into master Jun 12, 2024
3 checks passed
@tmasternak tmasternak deleted the fix-ttbr-att-tests branch June 12, 2024 11:55
@tmasternak tmasternak added this to the 9.0.2 milestone Jun 12, 2024
@tmasternak tmasternak added the Bug label Jun 12, 2024
@tmasternak tmasternak changed the title Ensure that the TTBR test do not end just after the feature startup is done Ensure that the TTBR tests do not end just after the feature startup is done Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants