parent
411965d392
commit
49a5afc6c1
|
@ -71,6 +71,7 @@ import java.util.Collections;
|
|||
import java.util.List;
|
||||
import java.util.concurrent.CountDownLatch;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.concurrent.atomic.AtomicReference;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
|
@ -142,7 +143,7 @@ public abstract class BaseMlIntegTestCase extends ESIntegTestCase {
|
|||
ClusterState state = client().admin().cluster().prepareState().get().getState();
|
||||
assertTrue("Timed out waiting for the ML templates to be installed",
|
||||
MachineLearning.allTemplatesInstalled(state));
|
||||
});
|
||||
}, 20, TimeUnit.SECONDS);
|
||||
}
|
||||
|
||||
protected Job.Builder createJob(String id) {
|
||||
|
|
Loading…
Reference in New Issue