From 6b63ea49c2604414a0a4cd1a2a0030b250a8d529 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Thu, 21 May 2015 17:57:49 +0200 Subject: [PATCH] [TEST] now that we check early if we are corrupted this can be run with many nodes --- .../java/org/elasticsearch/index/store/CorruptedFileTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/java/org/elasticsearch/index/store/CorruptedFileTest.java b/src/test/java/org/elasticsearch/index/store/CorruptedFileTest.java index 80ef2b678d8..73e234296c6 100644 --- a/src/test/java/org/elasticsearch/index/store/CorruptedFileTest.java +++ b/src/test/java/org/elasticsearch/index/store/CorruptedFileTest.java @@ -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")