Skip to content

Commit 4d24549

Browse files
committed
backfill: skip TestVectorIndexMergingDuringBackfillWithPrefix under race
We've seen this recently added test time out twice under race with no clear signs of anything going wrong. The test seems just rather intense to be run under race, so we'll skip it in that config. Release note: None
1 parent 68ab00d commit 4d24549

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

pkg/sql/backfill/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ go_test(
8787
"//pkg/sql/sem/catid",
8888
"//pkg/sql/sem/eval",
8989
"//pkg/testutils/serverutils",
90+
"//pkg/testutils/skip",
9091
"//pkg/testutils/sqlutils",
9192
"//pkg/testutils/testcluster",
9293
"//pkg/util/leaktest",

pkg/sql/backfill/backfill_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
"github.com/cockroachdb/cockroach/pkg/kv"
1515
"github.com/cockroachdb/cockroach/pkg/sql/execinfra"
1616
"github.com/cockroachdb/cockroach/pkg/testutils/serverutils"
17+
"github.com/cockroachdb/cockroach/pkg/testutils/skip"
1718
"github.com/cockroachdb/cockroach/pkg/testutils/sqlutils"
1819
"github.com/cockroachdb/cockroach/pkg/util/leaktest"
1920
"github.com/cockroachdb/cockroach/pkg/util/log"
@@ -351,6 +352,8 @@ func TestVectorIndexMergingDuringBackfillWithPrefix(t *testing.T) {
351352
defer leaktest.AfterTest(t)()
352353
defer log.Scope(t).Close(t)
353354

355+
skip.UnderRace(t, "too slow")
356+
354357
// Channel to block the backfill process
355358
blockBackfill := make(chan struct{})
356359
backfillBlocked := make(chan struct{})

0 commit comments

Comments
 (0)