From 55f77fd52d3ad94f2c98a56eaf50f7e290f05124 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Fri, 11 Sep 2015 21:18:27 +0200 Subject: [PATCH] test: reduce number of triggered watches being indexed Closes elastic/elasticsearch#632 Original commit: elastic/x-pack-elasticsearch@3a7e16b89731c025b6824e0e7f860bce447088b6 --- .../elasticsearch/watcher/test/integration/BootStrapTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watcher/src/test/java/org/elasticsearch/watcher/test/integration/BootStrapTests.java b/watcher/src/test/java/org/elasticsearch/watcher/test/integration/BootStrapTests.java index 3a637b31e86..413c82970e4 100644 --- a/watcher/src/test/java/org/elasticsearch/watcher/test/integration/BootStrapTests.java +++ b/watcher/src/test/java/org/elasticsearch/watcher/test/integration/BootStrapTests.java @@ -316,7 +316,7 @@ public class BootStrapTests extends AbstractWatcherIntegrationTestCase { ).get(); DateTime now = DateTime.now(UTC); - final int numRecords = scaledRandomIntBetween(2, 128); + final int numRecords = scaledRandomIntBetween(2, 12); for (int i = 0; i < numRecords; i++) { now = now.plusMinutes(1); ScheduleTriggerEvent event = new ScheduleTriggerEvent(watchId, now, now);