From a1dd830cb555f0a0a909c1a265006ba5f14fb665 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Thu, 31 Oct 2019 14:11:25 +0100 Subject: [PATCH] Re-enabled test with longer timeout waiting for monitoring. See #48258 --- .../elasticsearch/test/enrich/CommonEnrichRestTestCase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/plugin/enrich/qa/common/src/main/java/org/elasticsearch/test/enrich/CommonEnrichRestTestCase.java b/x-pack/plugin/enrich/qa/common/src/main/java/org/elasticsearch/test/enrich/CommonEnrichRestTestCase.java index 0d529f24232..9ab357f2349 100644 --- a/x-pack/plugin/enrich/qa/common/src/main/java/org/elasticsearch/test/enrich/CommonEnrichRestTestCase.java +++ b/x-pack/plugin/enrich/qa/common/src/main/java/org/elasticsearch/test/enrich/CommonEnrichRestTestCase.java @@ -22,6 +22,7 @@ import org.junit.After; import java.io.IOException; import java.util.List; import java.util.Map; +import java.util.concurrent.TimeUnit; import static org.elasticsearch.common.xcontent.XContentFactory.jsonBuilder; import static org.hamcrest.Matchers.equalTo; @@ -100,7 +101,7 @@ public abstract class CommonEnrichRestTestCase extends ESRestTestCase { public void testBasicFlow() throws Exception { setupGenericLifecycleTest(true); -// assertBusy(CommonEnrichRestTestCase::verifyEnrichMonitoring, 1, TimeUnit.MINUTES); + assertBusy(CommonEnrichRestTestCase::verifyEnrichMonitoring, 3, TimeUnit.MINUTES); } public void testImmutablePolicy() throws IOException {