[TEST] Wait a bit longer before the lookback import has completed and it stopped the datafeed automatically

Original commit: elastic/x-pack-elasticsearch@6f9b5f8f28
This commit is contained in:
Martijn van Groningen 2017-03-02 21:56:38 +01:00
parent e9e14cbcea
commit 34a4778b11
1 changed files with 1 additions and 1 deletions

View File

@ -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 {