[TEST] Wait a bit longer before the lookback import has completed and it stopped the datafeed automatically
Original commit: elastic/x-pack-elasticsearch@6f9b5f8f28bde93d5a95ae1e7b0281c64bbcebbd
@@ -153,7 +153,7 @@ public class DatafeedJobsIT extends BaseMlIntegTestCase {
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);
}
public void testRealtime() throws Exception {
