Skip to content

Commit

Permalink
backupccl: deflake TestFullClusterBackup
Browse files Browse the repository at this point in the history
TestFullClusterBackup would flake if the test ran at a specific time during the
week due to #100094. This patch prevents this flake.

Fixes #100094

Release note: none
  • Loading branch information
msbutler committed Mar 30, 2023
1 parent 56e890f commit 0778e24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/ccl/backupccl/full_cluster_backup_restore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ CREATE TABLE data2.foo (a int);
case systemschema.CommentsTable.GetName():
query := fmt.Sprintf("SELECT comment FROM system.%s", table)
verificationQueries[i] = query
case systemschema.ScheduledJobsTable.GetName():
query := fmt.Sprintf("SELECT schedule_id, schedule_name FROM system.%s", table)
verificationQueries[i] = query
default:
query := fmt.Sprintf("SELECT * FROM system.%s", table)
verificationQueries[i] = query
Expand Down

0 comments on commit 0778e24

Please sign in to comment.