Mute testPooledMemoryChoiceOnNotSmallHeap

This commit is contained in:
Ioannis Kakavas 2019-07-23 13:16:22 +03:00
parent e5bd3ad0e9
commit 4dd9238cc0
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ public class JvmErgonomicsTests extends LaunchersTestCase {
}
public void testPooledMemoryChoiceOnNotSmallHeap() throws InterruptedException, IOException {
assumeFalse(System.getProperty("os.name").startsWith("Windows") && JavaVersion.majorVersion(JavaVersion.CURRENT) == 8);
final String largeHeap = randomFrom(Arrays.asList("1025M", "2048M", "2G", "8G"));
assertThat(
JvmErgonomics.choose(Arrays.asList("-Xms" + largeHeap, "-Xmx" + largeHeap)),