File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
server/src/test/java/org/elasticsearch/common/util/concurrent Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -187,9 +187,9 @@ protected void runInternal() {
187
187
assertFalse (task .isScheduled ());
188
188
task .rescheduleIfNecessary ();
189
189
assertTrue (task .isScheduled ());
190
- task .setInterval (TimeValue .timeValueMillis (1 ));
190
+ task .setInterval (TimeValue .timeValueMillis (10 ));
191
191
assertTrue (task .isScheduled ());
192
- // This should only take 2 milliseconds in ideal conditions, but allow 10 seconds in case of VM stalls
192
+ // This should only take 20 milliseconds in ideal conditions, but allow 10 seconds in case of VM stalls
193
193
assertTrue (latch .await (10 , TimeUnit .SECONDS ));
194
194
assertBusy (() -> assertFalse (task .isScheduled ()));
195
195
task .close ();
You can’t perform that action at this time.
0 commit comments