-
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.
28954: sql: fix flaky TestLeaseRenewedPeriodically r=vivekmenezes a=vivekmenezes I changed GossipUpdateEvent as well which is strictly not needed but there is a chance without it there will continue to be some flakiness. This fix essentially moves the check for release counts further up before lease acquisition. This fixes a race where after lease acquisition the periodic timer would fire, acquire/release some leases. fixes #28771 Release note: None Co-authored-by: Vivek Menezes <[email protected]>
- Loading branch information
Showing
3 changed files
with
20 additions
and
12 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
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
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