[test] change id between tests, to make reading log files easier.

Original commit: elastic/x-pack-elasticsearch@e633d7098e
This commit is contained in:
Martijn van Groningen 2017-02-17 14:55:14 +01:00
parent d970869e00
commit 6739f84efb
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ import static org.elasticsearch.common.xcontent.XContentType.JSON;
public class MlBasicMultiNodeIT extends ESRestTestCase { public class MlBasicMultiNodeIT extends ESRestTestCase {
public void testMiniFarequote() throws Exception { public void testMiniFarequote() throws Exception {
String jobId = "foo"; String jobId = "foo1";
createFarequoteJob(jobId); createFarequoteJob(jobId);
Response response = client().performRequest("post", MachineLearning.BASE_PATH + "anomaly_detectors/" + jobId + "/_open"); Response response = client().performRequest("post", MachineLearning.BASE_PATH + "anomaly_detectors/" + jobId + "/_open");
@ -95,7 +95,7 @@ public class MlBasicMultiNodeIT extends ESRestTestCase {
// Ensure all data is searchable // Ensure all data is searchable
client().performRequest("post", "_refresh"); client().performRequest("post", "_refresh");
String jobId = "foo"; String jobId = "foo2";
createFarequoteJob(jobId); createFarequoteJob(jobId);
String datafeedId = "bar"; String datafeedId = "bar";
createDatafeed(datafeedId, jobId); createDatafeed(datafeedId, jobId);