From 903753db61929d4f95118cd39cf227e03b606828 Mon Sep 17 00:00:00 2001 From: Benjamin Trent Date: Wed, 4 Sep 2019 13:05:41 -0500 Subject: [PATCH] [ML] testFullClusterRestart waiting for stable cluster (#46280) * [ML] waiting for ml indices before waiting task assignment testFullClusterRestart * waiting for a stable cluster after fullrestart * removing unused imports --- .../xpack/ml/integration/MlDistributedFailureIT.java | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/MlDistributedFailureIT.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/MlDistributedFailureIT.java index 711c9687144ca..aedbda0917706 100644 --- a/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/MlDistributedFailureIT.java +++ b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration/MlDistributedFailureIT.java @@ -113,6 +113,7 @@ public void testFullClusterRestart() throws Exception { logger.info("Restarting all nodes"); internalCluster().fullRestart(); logger.info("Restarted all nodes"); + ensureStableClusterOnAllNodes(3); }); }