[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:
parent
11a46dd938
commit
f4e2830ab1
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue