Skip to content

Commit 292649d

Browse files
committed
Actually randomize initial shard snapshot limit
1 parent 8a95b99 commit 292649d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/src/internalClusterTest/java/org/elasticsearch/snapshots/SnapshotStressTestsIT.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
import org.elasticsearch.threadpool.TestThreadPool;
6262
import org.elasticsearch.threadpool.ThreadPool;
6363
import org.junit.After;
64-
import org.junit.Before;
6564

6665
import java.nio.file.Path;
6766
import java.util.ArrayList;
@@ -96,8 +95,9 @@ public class SnapshotStressTestsIT extends AbstractSnapshotIntegTestCase {
9695

9796
private int initialShardSnapshotPerNodeLimit;
9897

99-
@Before
100-
public void randomInitialShardSnapshotPerNodeLimit() {
98+
@Override
99+
public void setUp() throws Exception {
100+
super.setUp();
101101
initialShardSnapshotPerNodeLimit = between(0, 10);
102102
}
103103

0 commit comments

Comments
 (0)