Skip to content

Commit 92b8ce6

Browse files
committed
sql: skip TestIndexBackfillerResumePreservesProgress under deadlock/race
Release note: None
1 parent 38fd8c3 commit 92b8ce6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/sql/indexbackfiller_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ import (
4343
"github.com/cockroachdb/cockroach/pkg/sql/types"
4444
"github.com/cockroachdb/cockroach/pkg/testutils"
4545
"github.com/cockroachdb/cockroach/pkg/testutils/serverutils"
46+
"github.com/cockroachdb/cockroach/pkg/testutils/skip"
4647
"github.com/cockroachdb/cockroach/pkg/testutils/sqlutils"
4748
"github.com/cockroachdb/cockroach/pkg/util/ctxgroup"
4849
"github.com/cockroachdb/cockroach/pkg/util/leaktest"
@@ -575,6 +576,8 @@ INSERT INTO foo VALUES (1), (10), (100);
575576
func TestIndexBackfillerResumePreservesProgress(t *testing.T) {
576577
defer leaktest.AfterTest(t)()
577578
defer log.Scope(t).Close(t)
579+
skip.UnderDeadlock(t, "slow timing sensitive test")
580+
skip.UnderRace(t, "slow timing sensitive test")
578581

579582
ctx := context.Background()
580583
backfillProgressCompletedCh := make(chan []roachpb.Span)

0 commit comments

Comments
 (0)