Fix method signature in test
Original commit: elastic/x-pack-elasticsearch@4340952f77
This commit is contained in:
parent
41811efcf1
commit
f856a79ef3
|
@ -40,7 +40,7 @@ public class MlFullClusterRestartIT extends BaseMlIntegTestCase {
|
|||
indexDocs("data", numDocs1, twoWeeksAgo, weekAgo);
|
||||
|
||||
Job.Builder job = createScheduledJob("job_id");
|
||||
PutJobAction.Request putJobRequest = new PutJobAction.Request(job.build(true, job.getId()));
|
||||
PutJobAction.Request putJobRequest = new PutJobAction.Request(job.build());
|
||||
PutJobAction.Response putJobResponse = client().execute(PutJobAction.INSTANCE, putJobRequest).actionGet();
|
||||
assertTrue(putJobResponse.isAcknowledged());
|
||||
|
||||
|
|
Loading…
Reference in New Issue