diff --git a/test/framework/src/main/java/org/elasticsearch/test/ESTestCase.java b/test/framework/src/main/java/org/elasticsearch/test/ESTestCase.java index 3c150c17e1b..f7f641c6a29 100644 --- a/test/framework/src/main/java/org/elasticsearch/test/ESTestCase.java +++ b/test/framework/src/main/java/org/elasticsearch/test/ESTestCase.java @@ -997,15 +997,6 @@ public abstract class ESTestCase extends LuceneTestCase { } } - /** - * Returns true iff assertions for elasticsearch packages are enabled - */ - public static boolean assertionsEnabled() { - boolean enabled = false; - assert (enabled = true); - return enabled; - } - public void assertAllIndicesRemovedAndDeletionCompleted(Iterable indicesServices) throws Exception { for (IndicesService indicesService : indicesServices) { assertBusy(() -> assertFalse(indicesService.iterator().hasNext()), 1, TimeUnit.MINUTES);