Browse Source

[ML] adding logging and unmuting test failure #67756 (#70732)

This test has been muted for some time, and some bugs have been fixed relating to _close and race conditions.

But, since we are not 100% the test is now fixed, adding logging to capture data in potential failures.

relates: #67756
Benjamin Trent 4 years ago
parent
commit
45d27fa109

+ 6 - 1
x-pack/plugin/ml/src/internalClusterTest/java/org/elasticsearch/xpack/ml/integration/MlDistributedFailureIT.java

@@ -455,7 +455,12 @@ public class MlDistributedFailureIT extends BaseMlIntegTestCase {
         });
     }
 
-    @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/67756")
+    @TestIssueLogging(
+        value = "org.elasticsearch.xpack.ml.action:TRACE,"
+            + "org.elasticsearch.xpack.ml.job.process.autodetect.AutodetectProcessManager:TRACE,"
+            + "org.elasticsearch.xpack.ml.datafeed:TRACE",
+        issueUrl = "https://github.com/elastic/elasticsearch/issues/67756"
+    )
     public void testClusterWithTwoMlNodes_RunsDatafeed_GivenOriginalNodeGoesDown() throws Exception {
         internalCluster().ensureAtMostNumDataNodes(0);
         logger.info("Starting dedicated master node...");