forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
81499: backupccl: rewrite temp-table datadriven test to be more deterministic r=stevendanna a=adityamaru Previously, the test would override the temp cleanup frequency and then sleep for long enough such that the temp cleanup would run. This was always going to be flaky especially when run under stress, race or deadlock. This changes the test to instead rely on channels to nudge the reconciliation loop making it more robust and faster! Fixes: cockroachdb#79026 Release note: None Co-authored-by: Aditya Maru <[email protected]>
- Loading branch information
Showing
2 changed files
with
93 additions
and
55 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