test: reduce number of triggered watches being indexed
Closes elastic/elasticsearch#632 Original commit: elastic/x-pack-elasticsearch@3a7e16b897
This commit is contained in:
parent
29aac1c617
commit
55f77fd52d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue