From f4e2830ab1e1e4163b8750b31f96c614ea63b073 Mon Sep 17 00:00:00 2001 From: Zach Date: Thu, 16 Feb 2017 18:21:13 -0500 Subject: [PATCH] [ML] Fix MlJobIT#testCreateJobInSharedIndex: "index_name" is now "results_index_name" relates elastic/x-pack-elasticsearch#584 Original commit: elastic/x-pack-elasticsearch@fbf9fdd9b0fddb98e8bab5aa0205d057230f7fcd --- .../java/org/elasticsearch/xpack/ml/integration/MlJobIT.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 ece463a9239..f20ec8dcd29 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 @@ -293,13 +293,12 @@ public class MlJobIT extends ESRestTestCase { assertThat(responseAsString, not(containsString(indexName))); } - @AwaitsFix(bugUrl = "https://github.com/elastic/x-pack-elasticsearch/issues/584") public void testCreateJobInSharedIndexUpdatesMapping() throws Exception { String jobTemplate = "{\n" + " \"analysis_config\" : {\n" + " \"detectors\" :[{\"function\":\"metric\",\"field_name\":\"metric\", \"by_field_name\":\"%s\"}]\n" + " },\n" + - " \"index_name\" : \"shared-index\"}"; + " \"results_index_name\" : \"shared-index\"}"; String jobId1 = "job-1"; String byFieldName1 = "responsetime";