test: reduce number of triggered watches being indexed

Closes elastic/elasticsearch#632

Original commit: elastic/x-pack-elasticsearch@3a7e16b897
This commit is contained in:
Martijn van Groningen 2015-09-11 21:18:27 +02:00
parent 29aac1c617
commit 55f77fd52d
1 changed files with 1 additions and 1 deletions

View File

@ -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);