From d1e411ce4b3a0e9b45a45ee8293d1dba6459f7d9 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 852cfe613aa22..88edce11dc945 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 f86e0f1c46cc2..89a7dc7d6f82d 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.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