Skip to content

Commit 9e53d6d

Browse files
committed
Mute JvmErgonomicsTests on windows
Tracking elastic#44669
1 parent 4f75526 commit 9e53d6d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

+9
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
package org.elasticsearch.tools.launchers;
2121

22+
import org.junit.Before;
23+
2224
import java.io.IOException;
2325
import java.util.Arrays;
2426
import java.util.Collections;
@@ -41,6 +43,13 @@
4143

4244
public class JvmErgonomicsTests extends LaunchersTestCase {
4345

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+
4453
public void testExtractValidHeapSizeUsingXmx() throws InterruptedException, IOException {
4554
assertThat(
4655
JvmErgonomics.extractHeapSize(JvmErgonomics.finalJvmOptions(Collections.singletonList("-Xmx2g"))),

0 commit comments

Comments
 (0)