Fix integ test after field rename
Original commit: elastic/x-pack-elasticsearch@4ebb93fb44
This commit is contained in:
parent
26df31a3d0
commit
e77a71827d
|
@ -211,7 +211,7 @@ public class MlJobIT extends ESRestTestCase {
|
||||||
" \"analysis_config\" : {\n" +
|
" \"analysis_config\" : {\n" +
|
||||||
" \"detectors\" :[{\"function\":\"metric\",\"field_name\":\"responsetime\"}]\n" +
|
" \"detectors\" :[{\"function\":\"metric\",\"field_name\":\"responsetime\"}]\n" +
|
||||||
" },\n" +
|
" },\n" +
|
||||||
" \"index_name\" : \"%s\"}";
|
" \"results_index_name\" : \"%s\"}";
|
||||||
|
|
||||||
String jobConfig = String.format(Locale.ROOT, jobTemplate, "index-1");
|
String jobConfig = String.format(Locale.ROOT, jobTemplate, "index-1");
|
||||||
|
|
||||||
|
@ -233,7 +233,7 @@ public class MlJobIT extends ESRestTestCase {
|
||||||
" \"analysis_config\" : {\n" +
|
" \"analysis_config\" : {\n" +
|
||||||
" \"detectors\" :[{\"function\":\"metric\",\"field_name\":\"responsetime\"}]\n" +
|
" \"detectors\" :[{\"function\":\"metric\",\"field_name\":\"responsetime\"}]\n" +
|
||||||
" },\n" +
|
" },\n" +
|
||||||
" \"index_name\" : \"%s\"}";
|
" \"results_index_name\" : \"%s\"}";
|
||||||
|
|
||||||
String jobId1 = "aliased-job-1";
|
String jobId1 = "aliased-job-1";
|
||||||
String indexName = "non-default-index";
|
String indexName = "non-default-index";
|
||||||
|
|
Loading…
Reference in New Issue