From a3259e9c62f91bdef166543fe5bceb63a7daf185 Mon Sep 17 00:00:00 2001 From: Brian Murphy Date: Thu, 20 Nov 2014 17:00:21 +0000 Subject: [PATCH] TEST: Up wait time to allow things to settle down once we ACK. Original commit: elastic/x-pack-elasticsearch@69f768034881b4bffa5d298f4b698017fd2c0c2e --- src/test/java/org/elasticsearch/alerts/AlertThrottleTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/alerts/AlertThrottleTests.java b/src/test/java/org/elasticsearch/alerts/AlertThrottleTests.java index a1051886748..bd21cce67b3 100644 --- a/src/test/java/org/elasticsearch/alerts/AlertThrottleTests.java +++ b/src/test/java/org/elasticsearch/alerts/AlertThrottleTests.java @@ -78,7 +78,7 @@ public class AlertThrottleTests extends AbstractAlertingTests { AckAlertResponse ackResponse = alertsClient.prepareAckAlert("throttled-alert").get(); assertEquals(AlertAckState.ACKED, ackResponse.getAlertAckState()); - Thread.sleep(5000); //Let any currently running stop + Thread.sleep(10000); //Let any currently running stop long countAfterAck = countResponse.getHits().getTotalHits();