Fix integ test after field rename

Original commit: elastic/x-pack-elasticsearch@4ebb93fb44
This commit is contained in:
David Kyle 2017-02-16 11:19:15 +00:00
parent 26df31a3d0
commit e77a71827d
1 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ public class MlJobIT extends ESRestTestCase {
" \"analysis_config\" : {\n" +
" \"detectors\" :[{\"function\":\"metric\",\"field_name\":\"responsetime\"}]\n" +
" },\n" +
" \"index_name\" : \"%s\"}";
" \"results_index_name\" : \"%s\"}";
String jobConfig = String.format(Locale.ROOT, jobTemplate, "index-1");
@ -233,7 +233,7 @@ public class MlJobIT extends ESRestTestCase {
" \"analysis_config\" : {\n" +
" \"detectors\" :[{\"function\":\"metric\",\"field_name\":\"responsetime\"}]\n" +
" },\n" +
" \"index_name\" : \"%s\"}";
" \"results_index_name\" : \"%s\"}";
String jobId1 = "aliased-job-1";
String indexName = "non-default-index";