File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
test/framework/src/main/java/org/elasticsearch/test Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 3030import org .elasticsearch .cluster .metadata .IndexTemplateMetadata ;
3131import org .elasticsearch .common .Strings ;
3232import org .elasticsearch .common .io .stream .NamedWriteableRegistry ;
33+ import org .elasticsearch .core .TimeValue ;
3334import org .elasticsearch .index .IndexNotFoundException ;
3435import org .elasticsearch .indices .IndexTemplateMissingException ;
3536import org .elasticsearch .repositories .RepositoryMissingException ;
@@ -77,7 +78,7 @@ protected void ensureNoInitializingShards() {
7778 assertNoTimeout (
7879 client ().admin ()
7980 .cluster ()
80- .health (new ClusterHealthRequest (TEST_REQUEST_TIMEOUT , "_all" ).waitForNoInitializingShards (true ))
81+ .health (new ClusterHealthRequest (TimeValue . timeValueMinutes ( 1 ) , "_all" ).waitForNoInitializingShards (true ))
8182 .actionGet ()
8283 );
8384 }
You can’t perform that action at this time.
0 commit comments