[ML] Fix MlJobIT#testCreateJobInSharedIndex: "index_name" is now "results_index_name"

relates elastic/x-pack-elasticsearch#584

Original commit: elastic/x-pack-elasticsearch@fbf9fdd9b0
This commit is contained in:
Zach 2017-02-16 18:21:13 -05:00
parent 11a46dd938
commit f4e2830ab1
1 changed files with 1 additions and 2 deletions

View File

@ -293,13 +293,12 @@ public class MlJobIT extends ESRestTestCase {
assertThat(responseAsString, not(containsString(indexName))); assertThat(responseAsString, not(containsString(indexName)));
} }
@AwaitsFix(bugUrl = "https://github.com/elastic/x-pack-elasticsearch/issues/584")
public void testCreateJobInSharedIndexUpdatesMapping() throws Exception { public void testCreateJobInSharedIndexUpdatesMapping() throws Exception {
String jobTemplate = "{\n" + String jobTemplate = "{\n" +
" \"analysis_config\" : {\n" + " \"analysis_config\" : {\n" +
" \"detectors\" :[{\"function\":\"metric\",\"field_name\":\"metric\", \"by_field_name\":\"%s\"}]\n" + " \"detectors\" :[{\"function\":\"metric\",\"field_name\":\"metric\", \"by_field_name\":\"%s\"}]\n" +
" },\n" + " },\n" +
" \"index_name\" : \"shared-index\"}"; " \"results_index_name\" : \"shared-index\"}";
String jobId1 = "job-1"; String jobId1 = "job-1";
String byFieldName1 = "responsetime"; String byFieldName1 = "responsetime";