Skip to content

Commit dd8408d

Browse files
committed
Reenable JvmErgonomicsTests on Windows
1 parent 147d735 commit dd8408d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

distribution/tools/launchers/src/test/java/org/elasticsearch/tools/launchers/JvmErgonomicsTests.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,6 @@
4343

4444
public class JvmErgonomicsTests extends LaunchersTestCase {
4545

46-
@Before
47-
public void setUp() {
48-
assumeFalse("https://github.com/elastic/elasticsearch/issues/44669",
49-
System.getProperty("os.name").contains("Win")
50-
);
51-
}
52-
5346
public void testExtractValidHeapSizeUsingXmx() throws InterruptedException, IOException {
5447
assertThat(
5548
JvmErgonomics.extractHeapSize(JvmErgonomics.finalJvmOptions(Collections.singletonList("-Xmx2g"))),
@@ -144,6 +137,7 @@ public void testPooledMemoryChoiceOnNotSmallHeap() throws InterruptedException,
144137
}
145138

146139
public void testMaxDirectMemorySizeChoice() throws InterruptedException, IOException {
140+
assumeFalse(System.getProperty("os.name").startsWith("Windows") && JavaVersion.majorVersion(JavaVersion.CURRENT) == 8);
147141
final Map<String, String> heapMaxDirectMemorySize = new HashMap<>();
148142
heapMaxDirectMemorySize.put("64M", Long.toString((64L << 20) / 2));
149143
heapMaxDirectMemorySize.put("512M", Long.toString((512L << 20) / 2));

0 commit comments

Comments
 (0)