Skip to content

Commit a3ccd6f

Browse files
authored
Mute testRecoveryWithTranslogRetentionDisabled (#66632)
1 parent 23b308f commit a3ccd6f

File tree

1 file changed

+32
-31
lines changed

1 file changed

+32
-31
lines changed

qa/full-cluster-restart/src/test/java/org/elasticsearch/upgrades/FullClusterRestartIT.java

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,37 @@
1919

2020
package org.elasticsearch.upgrades;
2121

22+
import static java.util.Collections.emptyMap;
23+
import static java.util.Collections.singletonList;
24+
import static java.util.Collections.singletonMap;
25+
import static org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.SYSTEM_INDEX_ENFORCEMENT_VERSION;
26+
import static org.elasticsearch.cluster.routing.UnassignedInfo.INDEX_DELAYED_NODE_LEFT_TIMEOUT_SETTING;
27+
import static org.elasticsearch.cluster.routing.allocation.decider.MaxRetryAllocationDecider.SETTING_ALLOCATION_MAX_RETRY;
28+
import static org.elasticsearch.common.xcontent.XContentFactory.jsonBuilder;
29+
import static org.hamcrest.Matchers.containsString;
30+
import static org.hamcrest.Matchers.equalTo;
31+
import static org.hamcrest.Matchers.greaterThan;
32+
import static org.hamcrest.Matchers.greaterThanOrEqualTo;
33+
import static org.hamcrest.Matchers.hasKey;
34+
import static org.hamcrest.Matchers.hasSize;
35+
import static org.hamcrest.Matchers.is;
36+
import static org.hamcrest.Matchers.notNullValue;
37+
import static org.hamcrest.Matchers.nullValue;
38+
import static org.hamcrest.Matchers.startsWith;
39+
40+
import java.io.IOException;
41+
import java.util.ArrayList;
42+
import java.util.Base64;
43+
import java.util.Collection;
44+
import java.util.HashMap;
45+
import java.util.HashSet;
46+
import java.util.List;
47+
import java.util.Locale;
48+
import java.util.Map;
49+
import java.util.Set;
50+
import java.util.regex.Matcher;
51+
import java.util.regex.Pattern;
52+
2253
import org.apache.http.util.EntityUtils;
2354
import org.elasticsearch.Version;
2455
import org.elasticsearch.client.Request;
@@ -47,37 +78,6 @@
4778
import org.elasticsearch.test.rest.yaml.ObjectPath;
4879
import org.junit.Before;
4980

50-
import java.io.IOException;
51-
import java.util.ArrayList;
52-
import java.util.Base64;
53-
import java.util.Collection;
54-
import java.util.HashMap;
55-
import java.util.HashSet;
56-
import java.util.List;
57-
import java.util.Locale;
58-
import java.util.Map;
59-
import java.util.Set;
60-
import java.util.regex.Matcher;
61-
import java.util.regex.Pattern;
62-
63-
import static java.util.Collections.emptyMap;
64-
import static java.util.Collections.singletonList;
65-
import static java.util.Collections.singletonMap;
66-
import static org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.SYSTEM_INDEX_ENFORCEMENT_VERSION;
67-
import static org.elasticsearch.cluster.routing.UnassignedInfo.INDEX_DELAYED_NODE_LEFT_TIMEOUT_SETTING;
68-
import static org.elasticsearch.cluster.routing.allocation.decider.MaxRetryAllocationDecider.SETTING_ALLOCATION_MAX_RETRY;
69-
import static org.elasticsearch.common.xcontent.XContentFactory.jsonBuilder;
70-
import static org.hamcrest.Matchers.containsString;
71-
import static org.hamcrest.Matchers.equalTo;
72-
import static org.hamcrest.Matchers.greaterThan;
73-
import static org.hamcrest.Matchers.greaterThanOrEqualTo;
74-
import static org.hamcrest.Matchers.hasKey;
75-
import static org.hamcrest.Matchers.hasSize;
76-
import static org.hamcrest.Matchers.is;
77-
import static org.hamcrest.Matchers.notNullValue;
78-
import static org.hamcrest.Matchers.nullValue;
79-
import static org.hamcrest.Matchers.startsWith;
80-
8181
/**
8282
* Tests to run before and after a full cluster restart. This is run twice,
8383
* one with {@code tests.is_old_cluster} set to {@code true} against a cluster
@@ -1421,6 +1421,7 @@ public void testTurnOffTranslogRetentionAfterUpgraded() throws Exception {
14211421
}
14221422
}
14231423

1424+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/66631")
14241425
public void testRecoveryWithTranslogRetentionDisabled() throws Exception {
14251426
if (isRunningAgainstOldCluster()) {
14261427
final Settings.Builder settings = Settings.builder()

0 commit comments

Comments
 (0)