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) }