Integrated: 8022403: sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java fails
Jayathirth D V
jdv at openjdk.org
Wed Nov 16 08:02:36 UTC 2022
On Tue, 15 Nov 2022 07:58:24 GMT, Jayathirth D V <jdv at openjdk.org> wrote:
> This test was failing because of color difference on boundaries. Updated test case to not check edges and added color tolerance.
>
> Also updated test to:
> 1) Use standard GraphicsConfiguration bounds for image instead of constant numbers.
> 2) Use waitForIdle before screen capture and added auto delay
> 3) Move mouse pointer away from rendering content (In my local Mac it failed every time when mouse pointer was present over test frame)
> 4) Remove usage of insets as it is undecorated and remove windows closing listener
> 5) Dispose frame when test fails
>
> With these changes test is not failing in CI with multiple runs on all platforms.
This pull request has now been integrated.
Changeset: 65f7de25
Author: Jayathirth D V <jdv at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/65f7de252366e30ba18a22c107fc301c0fdc9378
Stats: 159 lines in 2 files changed: 49 ins; 34 del; 76 mod
8022403: sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java fails
Reviewed-by: prr, psadhukhan
-------------
PR: https://git.openjdk.org/jdk/pull/11158
More information about the client-libs-dev
mailing list