[TEST] now that we check early if we are corrupted this can be run with many nodes

This commit is contained in:
Simon Willnauer 2015-05-21 17:57:49 +02:00
parent 65c646b01d
commit 6b63ea49c2
1 changed files with 0 additions and 2 deletions

View File

@ -517,8 +517,6 @@ public class CorruptedFileTest extends ElasticsearchIntegrationTest {
public void testReplicaCorruption() throws Exception {
int numDocs = scaledRandomIntBetween(100, 1000);
internalCluster().ensureAtLeastNumDataNodes(2);
// we rely on the test to have replicas on all nodes, make sure there are too many to time out
internalCluster().ensureAtMostNumDataNodes(4);
assertAcked(prepareCreate("test").setSettings(ImmutableSettings.builder()
.put(GatewayAllocator.INDEX_RECOVERY_INITIAL_SHARDS, "one")