[Test] Mute flaky monitoring tests

Original commit: elastic/x-pack-elasticsearch@3670e827c8
This commit is contained in:
Tanguy Leroux 2017-03-12 13:31:05 -07:00
parent ce1a910542
commit 73836f43c5
2 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,8 @@
*/
package org.elasticsearch.xpack.monitoring.exporter.local;
import org.apache.lucene.util.LuceneTestCase;
import org.apache.lucene.util.LuceneTestCase.AwaitsFix;
import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.Version;
import org.elasticsearch.action.admin.indices.recovery.RecoveryResponse;
@ -47,6 +49,7 @@ import static org.hamcrest.Matchers.instanceOf;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.notNullValue;
@AwaitsFix(bugUrl = "https://github.com/elastic/x-pack-elasticsearch/issues/416")
@ClusterScope(scope = Scope.TEST, numDataNodes = 0, numClientNodes = 0, transportClientRatio = 0.0)
public class LocalExporterTests extends MonitoringIntegTestCase {

View File

@ -5,6 +5,8 @@
*/
package org.elasticsearch.xpack.monitoring.resolver.shards;
import org.apache.lucene.util.LuceneTestCase;
import org.apache.lucene.util.LuceneTestCase.AwaitsFix;
import org.apache.lucene.util.LuceneTestCase.BadApple;
import org.elasticsearch.action.search.SearchRequestBuilder;
import org.elasticsearch.action.search.SearchResponse;
@ -31,6 +33,7 @@ import static org.hamcrest.Matchers.greaterThan;
import static org.hamcrest.Matchers.greaterThanOrEqualTo;
import static org.hamcrest.Matchers.instanceOf;
@AwaitsFix(bugUrl = "https://github.com/elastic/x-pack-elasticsearch/issues/498")
//test is just too slow, please fix it to not be sleep-based
@BadApple(bugUrl = "https://github.com/elastic/x-plugins/issues/1007")
@ClusterScope(scope = Scope.TEST)