RFR: 8341370: Test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails intermittently on macOS-aarch64 [v2]
Alexander Zuev
kizune at openjdk.org
Fri May 23 08:57:54 UTC 2025
On Fri, 23 May 2025 02:53:51 GMT, Manukumar V S <mvs at 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 .
>
> Manukumar V S has updated the pull request incrementally with one additional commit since the last revision:
>
> Formatting changes
Looks fine.
-------------
Marked as reviewed by kizune (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/25354#pullrequestreview-2863722947
More information about the client-libs-dev
mailing list