[TEST] Increased timeout

Original commit: elastic/x-pack-elasticsearch@a7170e66dd
This commit is contained in:
Martijn van Groningen 2017-03-31 10:34:51 +02:00
parent aba4760b02
commit b4bebfb12f
1 changed files with 2 additions and 2 deletions

View File

@ -24,9 +24,9 @@ import org.elasticsearch.xpack.ml.datafeed.DatafeedState;
import org.elasticsearch.xpack.ml.job.config.Job;
import org.elasticsearch.xpack.ml.job.config.JobState;
import org.elasticsearch.xpack.ml.job.process.autodetect.state.DataCounts;
import org.elasticsearch.xpack.persistent.PersistentTasksNodeService;
import org.elasticsearch.xpack.persistent.PersistentTaskRequest;
import org.elasticsearch.xpack.persistent.PersistentTasksCustomMetaData;
import org.elasticsearch.xpack.persistent.PersistentTasksNodeService;
import org.elasticsearch.xpack.security.Security;
import org.junit.After;
@ -158,7 +158,7 @@ public class DatafeedJobsIT extends SecurityIntegTestCase {
GetDatafeedsStatsAction.Request request = new GetDatafeedsStatsAction.Request(datafeedConfig.getId());
GetDatafeedsStatsAction.Response response = client().execute(GetDatafeedsStatsAction.INSTANCE, request).actionGet();
assertThat(response.getResponse().results().get(0).getDatafeedState(), equalTo(DatafeedState.STOPPED));
}, 30, TimeUnit.SECONDS);
}, 60, TimeUnit.SECONDS);
}
public void testRealtime() throws Exception {