From a26eb945585168f27f92e4f072a8324c006620d7 Mon Sep 17 00:00:00 2001 From: Aditya Maru Date: Mon, 7 Jun 2021 11:36:35 -0400 Subject: [PATCH] cli: skip under testrace as this test might be timing out Release note: None --- pkg/cli/debug_job_trace_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/cli/debug_job_trace_test.go b/pkg/cli/debug_job_trace_test.go index 484cd5cc14dc..9e48f902cba9 100644 --- a/pkg/cli/debug_job_trace_test.go +++ b/pkg/cli/debug_job_trace_test.go @@ -28,6 +28,7 @@ import ( "github.com/cockroachdb/cockroach/pkg/server/serverpb" "github.com/cockroachdb/cockroach/pkg/settings/cluster" "github.com/cockroachdb/cockroach/pkg/testutils" + "github.com/cockroachdb/cockroach/pkg/testutils/skip" "github.com/cockroachdb/cockroach/pkg/testutils/sqlutils" "github.com/cockroachdb/cockroach/pkg/util/encoding/csv" "github.com/cockroachdb/cockroach/pkg/util/leaktest" @@ -71,6 +72,9 @@ var jobTraceHeader = []string{ func TestDebugJobTrace(t *testing.T) { defer leaktest.AfterTest(t)() + + skip.UnderRace(t, "test timing out") + ctx := context.Background() defer jobs.TestingSetAdoptAndCancelIntervals(100*time.Millisecond, 100*time.Millisecond)()