Skip to content

Commit 78249ab

Browse files
authored
Tests: fix testExplainLifecycle flakiness (#65050)
1 parent 05babac commit 78249ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/rest-high-level/src/test/java/org/elasticsearch/client/IndexLifecycleIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
import java.util.HashMap;
6363
import java.util.List;
6464
import java.util.Map;
65+
import java.util.concurrent.TimeUnit;
6566
import java.util.stream.Collectors;
6667

6768
import static org.elasticsearch.client.ilm.LifecyclePolicyTests.createRandomPolicy;
@@ -145,7 +146,6 @@ public void testStartStopILM() throws Exception {
145146
assertEquals(statusResponse.getOperationMode(), OperationMode.RUNNING);
146147
}
147148

148-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/64907")
149149
public void testExplainLifecycle() throws Exception {
150150
Map<String, Phase> lifecyclePhases = new HashMap<>();
151151
Map<String, LifecycleAction> hotActions = new HashMap<>();
@@ -220,7 +220,7 @@ public void testExplainLifecycle() throws Exception {
220220
assertFalse(squashResponse.managedByILM());
221221
assertEquals("squash", squashResponse.getIndex());
222222

223-
});
223+
}, 30, TimeUnit.SECONDS);
224224
}
225225

226226
public void testDeleteLifecycle() throws IOException {

0 commit comments

Comments
 (0)