Skip to content

Commit 203c685

Browse files
ywelschkcm
authored andcommitted
[TEST] Enable DEBUG logging on testCreateShrinkIndexToN
1 parent 556d303 commit 203c685

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
import org.elasticsearch.indices.IndicesService;
6363
import org.elasticsearch.test.ESIntegTestCase;
6464
import org.elasticsearch.test.VersionUtils;
65+
import org.elasticsearch.test.junit.annotations.TestLogging;
6566

6667
import java.util.Arrays;
6768
import java.util.List;
@@ -81,8 +82,8 @@ protected boolean forbidPrivateIndexSettings() {
8182
return false;
8283
}
8384

85+
@TestLogging("org.elasticsearch.index.store:DEBUG")
8486
public void testCreateShrinkIndexToN() {
85-
assumeFalse("Broken on windows - https://github.com/elastic/elasticsearch/issues/33857", Constants.WINDOWS);
8687
int[][] possibleShardSplits = new int[][] {{8,4,2}, {9, 3, 1}, {4, 2, 1}, {15,5,1}};
8788
int[] shardSplits = randomFrom(possibleShardSplits);
8889
assertEquals(shardSplits[0], (shardSplits[0] / shardSplits[1]) * shardSplits[1]);

0 commit comments

Comments
 (0)