Skip to content

Commit

Permalink
Mute failing full-cluster-restart tests
Browse files Browse the repository at this point in the history
Relates to #37920
  • Loading branch information
javanna committed Jan 28, 2019
1 parent 445db97 commit 519423b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public void setIndex() throws IOException {
index = getTestName().toLowerCase(Locale.ROOT);
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/37920")
public void testSearch() throws Exception {
int count;
if (isRunningAgainstOldCluster()) {
Expand Down Expand Up @@ -152,6 +153,7 @@ public void testSearch() throws Exception {
assertStoredBinaryFields(count);
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/37920")
public void testNewReplicasWork() throws Exception {
if (isRunningAgainstOldCluster()) {
XContentBuilder mappingsAndSettings = jsonBuilder();
Expand Down Expand Up @@ -330,6 +332,7 @@ public void testClusterState() throws Exception {

}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/37920")
public void testShrink() throws IOException {
String shrunkenIndex = index + "_shrunk";
int numDocs;
Expand Down Expand Up @@ -398,6 +401,7 @@ public void testShrink() throws IOException {
assertEquals(numDocs, totalHits);
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/37920")
public void testShrinkAfterUpgrade() throws IOException {
String shrunkenIndex = index + "_shrunk";
int numDocs;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ private static void addCandidate(String querySource, QueryBuilder expectedQb) {
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()) {
Expand Down

0 comments on commit 519423b

Please sign in to comment.