diff --git a/pkg/storage/replicate_queue_test.go b/pkg/storage/replicate_queue_test.go index 446aecd23d3d..8f07bc4a5df5 100644 --- a/pkg/storage/replicate_queue_test.go +++ b/pkg/storage/replicate_queue_test.go @@ -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())