From fa2d6cc90d7d80aa6f05fe23bd88749f12a89678 Mon Sep 17 00:00:00 2001 From: adityamaru Date: Mon, 29 Aug 2022 14:41:16 -0400 Subject: [PATCH] server: skip TestDrain under testrace Informs: #86974 Release note: None Release justification: test only change --- pkg/server/drain_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/server/drain_test.go b/pkg/server/drain_test.go index fe09b10a2e87..4c855532f7ab 100644 --- a/pkg/server/drain_test.go +++ b/pkg/server/drain_test.go @@ -23,6 +23,7 @@ import ( "github.com/cockroachdb/cockroach/pkg/sql" "github.com/cockroachdb/cockroach/pkg/testutils" "github.com/cockroachdb/cockroach/pkg/testutils/serverutils" + "github.com/cockroachdb/cockroach/pkg/testutils/skip" "github.com/cockroachdb/cockroach/pkg/testutils/sqlutils" "github.com/cockroachdb/cockroach/pkg/testutils/testcluster" "github.com/cockroachdb/cockroach/pkg/util/grpcutil" @@ -37,6 +38,7 @@ import ( // TestDrain tests the Drain RPC. func TestDrain(t *testing.T) { defer leaktest.AfterTest(t)() + skip.UnderRaceWithIssue(t, 86974, "flaky test") defer log.Scope(t).Close(t) doTestDrain(t) }