[TEST] AwaitsFix annotation on periodically failing ML tests

Relates elastic/x-pack-elasticsearch#1079

Original commit: elastic/x-pack-elasticsearch@bc10e87869
This commit is contained in:
Ali Beyad 2017-04-13 11:48:33 -04:00
parent 1dd6207ce7
commit 4ec819706e
1 changed files with 2 additions and 0 deletions

View File

@ -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");