-
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.
74174: logictest: randomly backup/restore in logic tests r=stevendanna a=adityamaru This commit introduces a new configuration to logic tests that will randomly backup the cluster, re-create the cluster and restore that backup to the new cluster. This is primarily beneficial since it runs backup/restore under a much more comprehensive set of SQL states. This configuration is currently disabled via the `COCKROACH_LOGIC_TEST_BACKUP_RESTORE_PROBABILITY` environment variable being set to 0. The goal is to set up a nightly that will set this var to a non-zero number for a growing set of logic tests. Co-authored-by: Paul Bardea <[email protected]> Closes #54060. Release note: None Release justification: non-production code changes, adds a logictest config that randomly runs backup and restore between existing logic tests. This is currently disabled. Co-authored-by: Paul Bardea <[email protected]>
- Loading branch information
Showing
2 changed files
with
209 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
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