Skip to content

Commit e286978

Browse files
Fix ShrinkIndexIT
* Move this test suit to cluster scope. Currently, `testShrinkThenSplitWithFailedNode` stops a random node which randomly turns out to be the only shared master node so the cluster reset fails on account of the fact that no shared master node survived. * Closes elastic#44164
1 parent 58636fe commit e286978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/test/java/org/elasticsearch/action/admin/indices/create/ShrinkIndexIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
import static org.hamcrest.Matchers.equalTo;
7676
import static org.hamcrest.Matchers.greaterThanOrEqualTo;
7777

78-
@ESIntegTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/44164")
78+
@ESIntegTestCase.ClusterScope(scope = ESIntegTestCase.Scope.TEST)
7979
public class ShrinkIndexIT extends ESIntegTestCase {
8080

8181
@Override

0 commit comments

Comments
 (0)