Skip to content

Commit

Permalink
8258584: java/util/HexFormat/HexFormatTest.java fails on x86_32
Browse files Browse the repository at this point in the history
Reviewed-by: rriggs
  • Loading branch information
DamonFool committed Dec 22, 2020
1 parent 30b9ff6 commit 1594372
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/jdk/java/util/HexFormat/HexFormatTest.java
Expand Up @@ -23,6 +23,7 @@

import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import org.testng.SkipException;

import java.io.CharArrayWriter;
import java.io.IOException;
Expand All @@ -42,7 +43,7 @@
/*
* @test
* @summary Check HexFormat formatting and parsing
* @run testng/othervm -Xmx4G HexFormatTest
* @run testng/othervm HexFormatTest
*/

@Test
Expand Down Expand Up @@ -645,7 +646,7 @@ static void testOOME(String delimiter, String prefix, String suffix, boolean upp
Runtime.getRuntime().totalMemory(),
Runtime.getRuntime().freeMemory(),
Runtime.getRuntime().maxMemory());
throw oome;
throw new SkipException("Insufficient Memory to test OOME");
}

}
Expand Down

1 comment on commit 1594372

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.