Skip to content

Commit 7a21034

Browse files
TESTS: Remove Dead Code in Disruption Tests (#35768)
* Neither this class nor the constructor are used anywhere
1 parent 1cb578b commit 7a21034

File tree

2 files changed

+0
-77
lines changed

2 files changed

+0
-77
lines changed

test/framework/src/main/java/org/elasticsearch/test/disruption/NoOpDisruptionScheme.java

Lines changed: 0 additions & 71 deletions
This file was deleted.

test/framework/src/main/java/org/elasticsearch/test/disruption/SingleNodeDisruption.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,6 @@ public abstract class SingleNodeDisruption implements ServiceDisruptionScheme {
3434
protected volatile InternalTestCluster cluster;
3535
protected final Random random;
3636

37-
38-
public SingleNodeDisruption(String disruptedNode, Random random) {
39-
this(random);
40-
this.disruptedNode = disruptedNode;
41-
}
42-
4337
public SingleNodeDisruption(Random random) {
4438
this.random = new Random(random.nextLong());
4539
}

0 commit comments

Comments
 (0)