RFR: 8341370: Test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails intermittently on macOS-aarch64 [v2]
Manukumar V S
mvs at openjdk.org
Fri May 23 02:53:51 UTC 2025
> 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 .
Manukumar V S has updated the pull request incrementally with one additional commit since the last revision:
Formatting changes
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25354/files
- new: https://git.openjdk.org/jdk/pull/25354/files/7512d0e2..9beabcbb
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25354&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25354&range=00-01
Stats: 8 lines in 1 file changed: 4 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/25354.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25354/head:pull/25354
PR: https://git.openjdk.org/jdk/pull/25354
More information about the client-libs-dev
mailing list