On Wed, 21 May 2025 13:13:46 GMT, Manukumar V S <m...@openjdk.org> wrote:
> ShapeNotSetSometimes.java fails intermittently with a RuntimeException on > macOS-aarch64 > Test threw exception: java.lang.RuntimeException: Test failed. The shape has > not been applied. > > Fix: > The test has been modified to take a screenshot of the area and then analyse > the pixel color in the screenshot rather than getting individual pixels from > the screen for each test. > Also the timeout of the test has been increased to 5 minutes(300 seconds) as > sometimes it times out with the default timeout of 2 minutes(120 seconds). > > Testing: > After fixing the test, it has been run 40 times per platform(Windows, Linux, > MacOS x64 and MacOS aarch64) using Mach5 and got 100% pass rate . This pull request has now been integrated. Changeset: 84a67e83 Author: Manukumar V S <m...@openjdk.org> Committer: SendaoYan <s...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/84a67e83e3f4fcb6be6802d12b0788850a3845b5 Stats: 18 lines in 2 files changed: 7 ins; 5 del; 6 mod 8341370: Test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails intermittently on macOS-aarch64 Reviewed-by: kizune, dnguyen ------------- PR: https://git.openjdk.org/jdk/pull/25354