From 0778e24043fbd4f2f0bb7f2dccf737d88986dfea Mon Sep 17 00:00:00 2001 From: Michael Butler Date: Thu, 30 Mar 2023 10:03:34 -0400 Subject: [PATCH] backupccl: deflake TestFullClusterBackup 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 --- pkg/ccl/backupccl/full_cluster_backup_restore_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/ccl/backupccl/full_cluster_backup_restore_test.go b/pkg/ccl/backupccl/full_cluster_backup_restore_test.go index 30b9406fc82b..b63d6f0bfd71 100644 --- a/pkg/ccl/backupccl/full_cluster_backup_restore_test.go +++ b/pkg/ccl/backupccl/full_cluster_backup_restore_test.go @@ -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