Mute failing full-cluster-restart tests

Relates to #37920
This commit is contained in:
Luca Cavanna 2019-01-28 14:07:12 +01:00
parent 445db97867
commit 519423b8f3
2 changed files with 5 additions and 0 deletions

View File

@ -85,6 +85,7 @@ public class FullClusterRestartIT extends AbstractFullClusterRestartTestCase {
index = getTestName().toLowerCase(Locale.ROOT);
}
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/37920")
public void testSearch() throws Exception {
int count;
if (isRunningAgainstOldCluster()) {
@ -152,6 +153,7 @@ public class FullClusterRestartIT extends AbstractFullClusterRestartTestCase {
assertStoredBinaryFields(count);
}
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/37920")
public void testNewReplicasWork() throws Exception {
if (isRunningAgainstOldCluster()) {
XContentBuilder mappingsAndSettings = jsonBuilder();
@ -330,6 +332,7 @@ public class FullClusterRestartIT extends AbstractFullClusterRestartTestCase {
}
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/37920")
public void testShrink() throws IOException {
String shrunkenIndex = index + "_shrunk";
int numDocs;
@ -398,6 +401,7 @@ public class FullClusterRestartIT extends AbstractFullClusterRestartTestCase {
assertEquals(numDocs, totalHits);
}
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/37920")
public void testShrinkAfterUpgrade() throws IOException {
String shrunkenIndex = index + "_shrunk";
int numDocs;

View File

@ -142,6 +142,7 @@ public class QueryBuilderBWCIT extends AbstractFullClusterRestartTestCase {
CANDIDATES.add(new Object[]{"{\"query\": {" + querySource + "}}", expectedQb});
}
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/37920")
public void testQueryBuilderBWC() throws Exception {
String index = "queries";
if (isRunningAgainstOldCluster()) {