File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
test/framework/src/main/java/org/elasticsearch/test Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -368,7 +368,6 @@ protected final void beforeInternal() throws Exception {
368368 final Scope currentClusterScope = getCurrentClusterScope ();
369369 Callable <Void > setup = () -> {
370370 cluster ().beforeTest (random ());
371- ensureNoInitializingShardsBeforeWipingCluster ();
372371 cluster ().wipe (excludeTemplates ());
373372 randomIndexTemplate ();
374373 return null ;
@@ -387,16 +386,6 @@ protected final void beforeInternal() throws Exception {
387386
388387 }
389388
390- protected void ensureNoInitializingShardsBeforeWipingCluster () {
391- logger .info ("--> waiting for all initializing shards to complete within a reasonable time before wiping the cluster" );
392- assertNoTimeout (
393- client ().admin ()
394- .cluster ()
395- .health (new ClusterHealthRequest (TEST_REQUEST_TIMEOUT , "_all" ).waitForNoInitializingShards (true ))
396- .actionGet ()
397- );
398- }
399-
400389 private void printTestMessage (String message ) {
401390 if (isSuiteScopedTest (getClass ()) && (getTestName ().equals ("<unknown>" ))) {
402391 logger .info ("[{}]: {} suite" , getTestClass ().getSimpleName (), message );
You can’t perform that action at this time.
0 commit comments