From 32a2fd029744f4ac2c06512b5283c27ed067bd01 Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Mon, 5 Oct 2015 19:17:20 +0200 Subject: [PATCH] Tests: disable more flaky tests. Original commit: elastic/x-pack-elasticsearch@d9825c0ed45b9d494255cf06d3deadd35423c475 --- .../marvel/agent/renderer/indices/IndicesStatsIT.java | 2 ++ .../elasticsearch/marvel/agent/renderer/shards/ShardsIT.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/marvel/src/test/java/org/elasticsearch/marvel/agent/renderer/indices/IndicesStatsIT.java b/marvel/src/test/java/org/elasticsearch/marvel/agent/renderer/indices/IndicesStatsIT.java index e48c5d1aa84..84a2859bedd 100644 --- a/marvel/src/test/java/org/elasticsearch/marvel/agent/renderer/indices/IndicesStatsIT.java +++ b/marvel/src/test/java/org/elasticsearch/marvel/agent/renderer/indices/IndicesStatsIT.java @@ -5,6 +5,7 @@ */ package org.elasticsearch.marvel.agent.renderer.indices; +import org.apache.lucene.util.LuceneTestCase.AwaitsFix; import org.elasticsearch.action.count.CountResponse; import org.elasticsearch.action.search.SearchResponse; import org.elasticsearch.common.settings.Settings; @@ -18,6 +19,7 @@ import java.util.Map; import static org.hamcrest.Matchers.greaterThan; +@AwaitsFix(bugUrl="https://github.com/elastic/x-plugins/issues/729") public class IndicesStatsIT extends MarvelIntegTestCase { @Override diff --git a/marvel/src/test/java/org/elasticsearch/marvel/agent/renderer/shards/ShardsIT.java b/marvel/src/test/java/org/elasticsearch/marvel/agent/renderer/shards/ShardsIT.java index 4a7498d9c7f..02f1e42286a 100644 --- a/marvel/src/test/java/org/elasticsearch/marvel/agent/renderer/shards/ShardsIT.java +++ b/marvel/src/test/java/org/elasticsearch/marvel/agent/renderer/shards/ShardsIT.java @@ -5,6 +5,7 @@ */ package org.elasticsearch.marvel.agent.renderer.shards; +import org.apache.lucene.util.LuceneTestCase.AwaitsFix; import org.elasticsearch.action.search.SearchResponse; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.marvel.agent.collector.shards.ShardsCollector; @@ -17,6 +18,7 @@ import java.util.Map; import static org.hamcrest.Matchers.greaterThan; +@AwaitsFix(bugUrl="https://github.com/elastic/x-plugins/issues/729") public class ShardsIT extends MarvelIntegTestCase { @Override