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
This commit is contained in:
Ryan Ernst 2020-03-16 18:54:40 -07:00 committed by Ryan Ernst
parent 6a7baddc2b
commit e7f38674ed
2 changed files with 3 additions and 0 deletions

View File

@ -152,3 +152,4 @@ integTest.enabled = false
task internalClusterTest(type: Test) { task internalClusterTest(type: Test) {
include "**/*IT.class" include "**/*IT.class"
} }
check.dependsOn internalClusterTest

View File

@ -5,6 +5,7 @@
*/ */
package org.elasticsearch.xpack.core.rest.action; 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.AnalyzeToken;
import org.elasticsearch.action.admin.indices.analyze.AnalyzeAction.Response; import org.elasticsearch.action.admin.indices.analyze.AnalyzeAction.Response;
import org.elasticsearch.action.search.SearchResponse; 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.assertHitCount;
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertNoFailures; import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertNoFailures;
@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/53443")
public class ReloadSynonymAnalyzerIT extends ESIntegTestCase { public class ReloadSynonymAnalyzerIT extends ESIntegTestCase {
@Override @Override