Watcher: Give test a little more time
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:
@@ -73,6 +73,7 @@ import java.util.List;
import java.util.Map;
import java.util.Locale;
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;
@@ -483,8 +484,7 @@ public abstract class AbstractWatcherIntegrationTestCase extends ESIntegTestCase
}
throw new AssertionError("unexpected state, retrying with next run");
- });
-
+ }, 30, TimeUnit.SECONDS);
}
protected void ensureLicenseEnabled() throws Exception {
