-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
86339: multiregionccl: improve and deflake TestMultiRegionDataDriven r=ajwerner a=arulajmani 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 Co-authored-by: Arul Ajmani <[email protected]>
- Loading branch information
Showing
1 changed file
with
47 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters