Skip to content

Commit 3a3e97c

Browse files
authored
Merge pull request #159849 from kev-cao/blathers/backport-release-26.1-159631
release-26.1: backup: deflake ResolveDestination test under race
2 parents a1b2540 + 893436d commit 3a3e97c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pkg/backup/backupdest/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ go_test(
6666
"//pkg/sql",
6767
"//pkg/testutils/jobutils",
6868
"//pkg/testutils/serverutils",
69+
"//pkg/testutils/skip",
6970
"//pkg/testutils/testcluster",
7071
"//pkg/util",
7172
"//pkg/util/hlc",

pkg/backup/backupdest/backup_destination_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import (
2424
"github.com/cockroachdb/cockroach/pkg/security/username"
2525
"github.com/cockroachdb/cockroach/pkg/sql"
2626
"github.com/cockroachdb/cockroach/pkg/testutils/jobutils"
27+
"github.com/cockroachdb/cockroach/pkg/testutils/skip"
2728
"github.com/cockroachdb/cockroach/pkg/util"
2829
"github.com/cockroachdb/cockroach/pkg/util/hlc"
2930
"github.com/cockroachdb/cockroach/pkg/util/leaktest"
@@ -38,6 +39,8 @@ func TestBackupRestoreResolveDestination(t *testing.T) {
3839
defer leaktest.AfterTest(t)()
3940
defer log.Scope(t).Close(t)
4041

42+
skip.UnderRace(t, "multinode clusters are slow under race")
43+
4144
var params base.TestClusterArgs
4245
params.ServerArgs.DefaultDRPCOption = base.TestDRPCDisabled
4346

0 commit comments

Comments
 (0)