-
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
multiregionccl: improve and deflake TestMultiRegionDataDriven #86339
multiregionccl: improve and deflake TestMultiRegionDataDriven #86339
Conversation
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.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @rafiss)
TFTR! bors r=ajwerner |
🕐 Waiting for PR status (Github check) to be set, probably by CI. Bors will automatically try to run when all required PR statuses are set. |
GitHub status checks took too long to complete, so bors is giving up. You can adjust bors configuration to have it wait longer if you like. |
This patch switches to printing the entire trace instead of an opaque failure if the trace analysis does not conform to the expected output. We also deflake this test. The framework allows for tests to express an expected leaseholder and wait for these changes to apply. Given the test cluster interface, the only claim that can be made here is that the outgoing leaseholder has applied the lease transfer. Other replicas may still be operating under a stale view of the lease. The "served via follower read" test output line is contingent on the serving replicas view of the lease. I think this was leading to some (but maybe not all) flakes we've seen sporadically. To get around this, we now wait for all replicas to have the same view of the leaseholder when waiting for zone config changes to apply. Release justification: non production code change Release note: None
d4706fd
to
e65b3ca
Compare
bors r=ajwerner |
Build succeeded: |
fixes #77908
fixes #80837
This patch switches to printing the entire trace instead of an opaque
failure if the trace analysis does not conform to the expected output.
We also deflake this test. The framework allows for tests to express
an expected leaseholder and wait for these changes to apply. Given the
test cluster interface, the only claim that can be made here is that
the outgoing leaseholder has applied the lease transfer. Other replicas
may still be operating under a stale view of the lease. The
"served via follower read" test output line is contingent on the serving
replicas view of the lease. I think this was leading to some (but maybe
not all) flakes we've seen sporadically. To get around this, we now wait
for all replicas to have the same view of the leaseholder when waiting
for zone config changes to apply.
Release justification: non production code change
Release note: None