Skip to content

Commit

Permalink
server: skip TestDrain under testrace
Browse files Browse the repository at this point in the history
Informs: cockroachdb#86974

Release note: None

Release justification: test only change
  • Loading branch information
adityamaru committed Aug 29, 2022
1 parent 9da058b commit fa2d6cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/server/drain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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)
}
Expand Down

0 comments on commit fa2d6cc

Please sign in to comment.