From e7f38674edc3072af15c998d20ddddf345e0d62e Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Mon, 16 Mar 2020 18:54:40 -0700 Subject: [PATCH] Add internalClusterTest to check task (#53444) This commit adds internalClusterTest in xpack core to run as part of check. This was accidentally removed in a refactoring. Other xpack modules already do this, but core was left out. This commit also mutes 2 tests that currently fail. closes #53407 --- x-pack/plugin/core/build.gradle | 1 + .../xpack/core/rest/action/ReloadSynonymAnalyzerIT.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/x-pack/plugin/core/build.gradle b/x-pack/plugin/core/build.gradle index 47a1e1eff6a..f9d2dc6081f 100644 --- a/x-pack/plugin/core/build.gradle +++ b/x-pack/plugin/core/build.gradle @@ -152,3 +152,4 @@ integTest.enabled = false task internalClusterTest(type: Test) { include "**/*IT.class" } +check.dependsOn internalClusterTest diff --git a/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rest/action/ReloadSynonymAnalyzerIT.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rest/action/ReloadSynonymAnalyzerIT.java index f86e0f1c46c..89a7dc7d6f8 100644 --- a/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rest/action/ReloadSynonymAnalyzerIT.java +++ b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/rest/action/ReloadSynonymAnalyzerIT.java @@ -5,6 +5,7 @@ */ package org.elasticsearch.xpack.core.rest.action; +import org.apache.lucene.util.LuceneTestCase; import org.elasticsearch.action.admin.indices.analyze.AnalyzeAction.AnalyzeToken; import org.elasticsearch.action.admin.indices.analyze.AnalyzeAction.Response; import org.elasticsearch.action.search.SearchResponse; @@ -39,6 +40,7 @@ import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcke import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertHitCount; import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertNoFailures; +@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/53443") public class ReloadSynonymAnalyzerIT extends ESIntegTestCase { @Override