[ML][TEST] Increase timeout in MlDailyManagementServiceTests

relates elastic/x-pack-elasticsearch#2916

Original commit: elastic/x-pack-elasticsearch@2925dc45ea
This commit is contained in:
Dimitrios Athanasiou 2018-02-01 14:08:49 +00:00
parent 2a7015a12c
commit 05515b370a
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public class MlDailyManagementServiceTests extends ESTestCase {
CountDownLatch latch = new CountDownLatch(triggerCount);
try (MlDailyMaintenanceService service = createService(latch, client)) {
service.start();
latch.await(1, TimeUnit.SECONDS);
latch.await(5, TimeUnit.SECONDS);
}
verify(client, Mockito.atLeast(triggerCount - 1)).execute(same(DeleteExpiredDataAction.INSTANCE), any(), any());