mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
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…
x
Reference in New Issue
Block a user