Skip to content

Commit

Permalink
Watcher: Give test a little more time
Browse files Browse the repository at this point in the history
Changes watcher's integration tests to wait 30 seconds when starting
watcher rather than 10 seconds because this build failed when starting
took 12 seconds:
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.3+periodic/222/console
  • Loading branch information
nik9000 committed May 31, 2018
1 parent 8a4b3d7 commit 23d497e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicReference;
import java.util.function.Consumer;
import java.util.stream.Collectors;
Expand Down Expand Up @@ -480,8 +481,7 @@ protected void startWatcher() throws Exception {
}

throw new AssertionError("unexpected state, retrying with next run");
});

}, 30, TimeUnit.SECONDS);
}

protected void ensureLicenseEnabled() throws Exception {
Expand Down

0 comments on commit 23d497e

Please sign in to comment.