Silence reindex's rest tests

They are failing sporadically in CI.
This commit is contained in:
Nik Everett 2016-03-02 08:29:32 -05:00
parent 299b9d9b63
commit aa0ef84f5a
2 changed files with 7 additions and 0 deletions

View File

@ -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
}

View File

@ -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);