[ML][TEST] Increase timeout in MlDailyManagementServiceTests
relates elastic/x-pack-elasticsearch#2916
Original commit: elastic/x-pack-elasticsearch@9c69e64a6507e6327765d2b8a94a647c765656ac
@@ -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());
