give monitoring more time

This commit is contained in:
Martijn van Groningen 2019-09-30 07:55:23 +02:00
parent 36215bd33e
commit 1c3d5b77b5
No known key found for this signature in database
GPG Key ID: AB236F4FCF2AF12A
1 changed files with 3 additions and 3 deletions

View File

@ -90,7 +90,7 @@ public abstract class CommonEnrichRestTestCase extends ESRestTestCase {
public void testBasicFlow() throws Exception { public void testBasicFlow() throws Exception {
setupGenericLifecycleTest(true); setupGenericLifecycleTest(true);
assertBusy(CommonEnrichRestTestCase::verifyEnrichMonitoring, 30, TimeUnit.SECONDS); assertBusy(CommonEnrichRestTestCase::verifyEnrichMonitoring, 1, TimeUnit.MINUTES);
} }
public void testImmutablePolicy() throws IOException { public void testImmutablePolicy() throws IOException {
@ -185,7 +185,7 @@ public abstract class CommonEnrichRestTestCase extends ESRestTestCase {
maxExecutedSearchesTotal = Math.max(maxExecutedSearchesTotal, foundExecutedSearchesTotal); maxExecutedSearchesTotal = Math.max(maxExecutedSearchesTotal, foundExecutedSearchesTotal);
} }
assertThat(maxRemoteRequestsTotal, greaterThan(0)); assertThat(maxRemoteRequestsTotal, greaterThanOrEqualTo(1));
assertThat(maxExecutedSearchesTotal, greaterThan(0)); assertThat(maxExecutedSearchesTotal, greaterThanOrEqualTo(1));
} }
} }