From 4ec819706ec78371b55213764cebf30d62ce2a84 Mon Sep 17 00:00:00 2001 From: Ali Beyad Date: Thu, 13 Apr 2017 11:48:33 -0400 Subject: [PATCH] [TEST] AwaitsFix annotation on periodically failing ML tests Relates elastic/x-pack-elasticsearch#1079 Original commit: elastic/x-pack-elasticsearch@bc10e87869737da84a31ab6be8f2b4285db32543 --- .../java/org/elasticsearch/xpack/ml/integration/MlJobIT.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/src/test/java/org/elasticsearch/xpack/ml/integration/MlJobIT.java b/plugin/src/test/java/org/elasticsearch/xpack/ml/integration/MlJobIT.java index 1d084e85304..d3552f2c3b3 100644 --- a/plugin/src/test/java/org/elasticsearch/xpack/ml/integration/MlJobIT.java +++ b/plugin/src/test/java/org/elasticsearch/xpack/ml/integration/MlJobIT.java @@ -86,6 +86,7 @@ public class MlJobIT extends ESRestTestCase { assertThat(responseAsString, containsString("\"job_id\":\"farequote\"")); } + @AwaitsFix(bugUrl = "https://github.com/elastic/x-pack-elasticsearch/issues/1079") public void testGetJobs_GivenSingleJob() throws Exception { createFarequoteJob(); @@ -106,6 +107,7 @@ public class MlJobIT extends ESRestTestCase { assertThat(responseAsString, containsString("\"job_id\":\"farequote\"")); } + @AwaitsFix(bugUrl = "https://github.com/elastic/x-pack-elasticsearch/issues/1079") public void testGetJobs_GivenMultipleJobs() throws Exception { createFarequoteJob("farequote_1"); createFarequoteJob("farequote_2");