Skip to content

Commit

Permalink
Merge #29221
Browse files Browse the repository at this point in the history
29221: storage: deflake TestReplicateQueueRebalance r=a-robinson a=petermattis

Temporarily disable the merge queue in this test.

Fixes #28563

Release note: None

Co-authored-by: Peter Mattis <[email protected]>
  • Loading branch information
craig[bot] and petermattis committed Aug 29, 2018
2 parents 50ff8dc + f989f58 commit 69dbd8a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pkg/storage/replicate_queue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,17 @@ func TestReplicateQueueRebalance(t *testing.T) {

const numNodes = 5
tc := testcluster.StartTestCluster(t, numNodes,
base.TestClusterArgs{ReplicationMode: base.ReplicationAuto},
base.TestClusterArgs{
ReplicationMode: base.ReplicationAuto,
ServerArgs: base.TestServerArgs{
Knobs: base.TestingKnobs{
Store: &storage.StoreTestingKnobs{
// Prevent the merge queue from immediately discarding our splits.
DisableMergeQueue: true,
},
},
},
},
)
defer tc.Stopper().Stop(context.TODO())

Expand Down

0 comments on commit 69dbd8a

Please sign in to comment.