Skip to content

Commit 4a8f9ed

Browse files
committed
[TEST] now that we check early if we are corrupted this can be run with many nodes
1 parent dbc62ca commit 4a8f9ed

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/test/java/org/elasticsearch/index/store/CorruptedFileTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,8 +516,6 @@ public void testCorruptFileThenSnapshotAndRestore() throws ExecutionException, I
516516
public void testReplicaCorruption() throws Exception {
517517
int numDocs = scaledRandomIntBetween(100, 1000);
518518
internalCluster().ensureAtLeastNumDataNodes(2);
519-
// we rely on the test to have replicas on all nodes, make sure there are too many to time out
520-
internalCluster().ensureAtMostNumDataNodes(4);
521519

522520
assertAcked(prepareCreate("test").setSettings(ImmutableSettings.builder()
523521
.put(LocalGatewayAllocator.INDEX_RECOVERY_INITIAL_SHARDS, "one")

0 commit comments

Comments
 (0)