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

View File

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