Skip to content

Commit

Permalink
Mute JvmErgonomicsTests on windows
Browse files Browse the repository at this point in the history
Tracking elastic#44669
  • Loading branch information
alpar-t committed Jul 21, 2019
1 parent 4f75526 commit 9e53d6d
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

package org.elasticsearch.tools.launchers;

import org.junit.Before;

import java.io.IOException;
import java.util.Arrays;
import java.util.Collections;
Expand All @@ -41,6 +43,13 @@

public class JvmErgonomicsTests extends LaunchersTestCase {

@Before
public void setUp() {
assumeFalse("https://github.com/elastic/elasticsearch/issues/44669",
System.getProperty("os.name").contains("Win")
);
}

public void testExtractValidHeapSizeUsingXmx() throws InterruptedException, IOException {
assertThat(
JvmErgonomics.extractHeapSize(JvmErgonomics.finalJvmOptions(Collections.singletonList("-Xmx2g"))),
Expand Down

0 comments on commit 9e53d6d

Please sign in to comment.