Silence reindex's rest tests
They are failing sporadically in CI.
This commit is contained in:
parent
299b9d9b63
commit
aa0ef84f5a
|
@ -21,3 +21,8 @@ esplugin {
|
||||||
description 'The Reindex module adds APIs to reindex from one index to another or update documents in place.'
|
description 'The Reindex module adds APIs to reindex from one index to another or update documents in place.'
|
||||||
classname 'org.elasticsearch.index.reindex.ReindexPlugin'
|
classname 'org.elasticsearch.index.reindex.ReindexPlugin'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
integTest {
|
||||||
|
// Since there is only a single integTest and we're disabling it we need to disable the whole phase
|
||||||
|
enabled = false
|
||||||
|
}
|
||||||
|
|
|
@ -22,12 +22,14 @@ package org.elasticsearch.index.reindex;
|
||||||
import com.carrotsearch.randomizedtesting.annotations.Name;
|
import com.carrotsearch.randomizedtesting.annotations.Name;
|
||||||
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
|
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
|
||||||
|
|
||||||
|
import org.apache.lucene.util.LuceneTestCase.AwaitsFix;
|
||||||
import org.elasticsearch.test.rest.ESRestTestCase;
|
import org.elasticsearch.test.rest.ESRestTestCase;
|
||||||
import org.elasticsearch.test.rest.RestTestCandidate;
|
import org.elasticsearch.test.rest.RestTestCandidate;
|
||||||
import org.elasticsearch.test.rest.parser.RestTestParseException;
|
import org.elasticsearch.test.rest.parser.RestTestParseException;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
|
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/16906")
|
||||||
public class ReindexRestIT extends ESRestTestCase {
|
public class ReindexRestIT extends ESRestTestCase {
|
||||||
public ReindexRestIT(@Name("yaml") RestTestCandidate testCandidate) {
|
public ReindexRestIT(@Name("yaml") RestTestCandidate testCandidate) {
|
||||||
super(testCandidate);
|
super(testCandidate);
|
||||||
|
|
Loading…
Reference in New Issue