[ML] Fix MlJobIT#testCreateJobInSharedIndex: "index_name" is now "results_index_name"
relates elastic/x-pack-elasticsearch#584
Original commit: elastic/x-pack-elasticsearch@fbf9fdd9b0fddb98e8bab5aa0205d057230f7fcd
@@ -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";
