Skip to content

Commit 8037fcf

Browse files
authored
Merge pull request #159857 from kev-cao/backport24.3-159631
release-24.3: backup: deflake ResolveDestination test under race
2 parents a3467f5 + 99471e6 commit 8037fcf

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pkg/ccl/backupccl/backupdest/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ go_test(
5959
"//pkg/server",
6060
"//pkg/sql",
6161
"//pkg/testutils/serverutils",
62+
"//pkg/testutils/skip",
6263
"//pkg/testutils/testcluster",
6364
"//pkg/util/hlc",
6465
"//pkg/util/leaktest",

pkg/ccl/backupccl/backupdest/backup_destination_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import (
2222
"github.com/cockroachdb/cockroach/pkg/jobs/jobspb"
2323
"github.com/cockroachdb/cockroach/pkg/security/username"
2424
"github.com/cockroachdb/cockroach/pkg/sql"
25+
"github.com/cockroachdb/cockroach/pkg/testutils/skip"
2526
"github.com/cockroachdb/cockroach/pkg/util/hlc"
2627
"github.com/cockroachdb/cockroach/pkg/util/leaktest"
2728
"github.com/cockroachdb/cockroach/pkg/util/log"
@@ -35,6 +36,8 @@ func TestBackupRestoreResolveDestination(t *testing.T) {
3536
defer leaktest.AfterTest(t)()
3637
defer log.Scope(t).Close(t)
3738

39+
skip.UnderRace(t, "multinode clusters are slow under race")
40+
3841
tc, _, _, cleanupFn := backuptestutils.StartBackupRestoreTestCluster(t, backuptestutils.MultiNode)
3942
defer cleanupFn()
4043

0 commit comments

Comments
 (0)