From 0493f64e3f542c38d9c78586e14a0867d2167479 Mon Sep 17 00:00:00 2001 From: jaymode Date: Mon, 19 Mar 2018 12:47:51 -0600 Subject: [PATCH] [Test] mute MonitoringIT#testMonitoringService The MonitoringIT#testMonitoringService test fails occasionally in CI due to a failed wait for documents condition, so this commit adds an awaits fix. See elastic/x-pack-elasticsearch#4150 Original commit: elastic/x-pack-elasticsearch@c9415cba63c0dfee706b94ec6fffc6c8d6cdc310 --- .../elasticsearch/xpack/monitoring/integration/MonitoringIT.java | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/integration/MonitoringIT.java b/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/integration/MonitoringIT.java index f175464c040..b0324b03ab9 100644 --- a/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/integration/MonitoringIT.java +++ b/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/integration/MonitoringIT.java @@ -187,6 +187,7 @@ public class MonitoringIT extends ESSingleNodeTestCase { * This test waits for the monitoring service to collect monitoring documents and then checks that all expected documents * have been indexed with the expected information. */ + @AwaitsFix(bugUrl = "https://github.com/elastic/x-pack-elasticsearch/issues/4150") @SuppressWarnings("unchecked") public void testMonitoringService() throws Exception { final boolean createAPMIndex = randomBoolean();