-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
release-23.1: server, statusccl: de-flake span stats fan-out tests #106636
Conversation
This commit fixes flaky behavior while running `TestSpanStatsFanOut` and `TestTenantSpanStats` under stress. Both tests have been updated to ensure the following behavior: - The tests make sure range splits occur before proceeding. - The tests will retry their assertions to give the new key-value pairs time to replicate. Additionally, `NewTestTenantHelper` was updated to accept a parameter for the number of nodes in the test host cluster. `TestTenantSpanStats` now uses a 3-node cluster to test a real fan-out. Resolves #99770 Resolves #99559 Epic:none Release note: None
6adb8d3
to
4017860
Compare
ec6c1c4
to
555c5e6
Compare
Thanks for opening a backport. Please check the backport criteria before merging:
If some of the basic criteria cannot be satisfied, ensure that the exceptional criteria are satisfied within.
Add a brief release justification to the body of your PR to justify this backport. Some other things to consider:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you update the issue to show the one from 23.1 that is getting fixed by this PR?
otherwise
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @zachlite)
It's #99770. |
Backport 1/1 commits from #106551 on behalf of @zachlite.
/cc @cockroachdb/release
This commit fixes flaky behavior while running
TestSpanStatsFanOut
andTestTenantSpanStats
under stress.Both tests have been updated to ensure the following behavior:
Additionally,
NewTestTenantHelper
was updated to accept a parameter for the number of nodes in the test host cluster.TestTenantSpanStats
now uses a 3-node cluster to test a real fan-out.Resolves #99770
Resolves #99559
Epic:none
Release note: None
Release justification: removes test flakes