Skip to content

Commit 7396e56

Browse files
craig[bot]Abhinav1299
andcommitted
Merge #159233
159233: pkg/cli: skip slow tsdump test under race conditions r=Abhinav1299 a=Abhinav1299 Added a skip condition for the TestTSDumpRawGenerationWithEmbeddedMetadata test to prevent it from running under race conditions due to its slow execution time. Part of: CRDB-57722 Epic: none Release note: none Co-authored-by: Abhinav1299 <[email protected]>
2 parents 433195f + 462d394 commit 7396e56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/cli/tsdump_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import (
2323

2424
"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
2525
"github.com/cockroachdb/cockroach/pkg/testutils"
26+
"github.com/cockroachdb/cockroach/pkg/testutils/skip"
2627
"github.com/cockroachdb/cockroach/pkg/ts/tsdumpmeta"
2728
"github.com/cockroachdb/cockroach/pkg/ts/tspb"
2829
"github.com/cockroachdb/cockroach/pkg/util/leaktest"
@@ -404,6 +405,7 @@ func TestTSDumpConversionWithEmbeddedMetadata(t *testing.T) {
404405
func TestTSDumpRawGenerationWithEmbeddedMetadata(t *testing.T) {
405406
defer leaktest.AfterTest(t)()
406407
defer log.Scope(t).Close(t)
408+
skip.UnderRace(t, "test too slow under race")
407409

408410
c := NewCLITest(TestCLIParams{})
409411
defer c.Cleanup()

0 commit comments

Comments
 (0)