RFR: 8296556: Mark two RobotTest methods as unstable on HiDPI Windows systems

Kevin Rushforth kcr at openjdk.org
Thu Nov 17 11:55:08 UTC 2022


On Wed, 16 Nov 2022 09:04:28 GMT, Karthik P K <duke at openjdk.org> wrote:

> Two RobotTest methods are marked as unstable on HiDPI Windows systems.

The fix looks fine to me. Please add the bug ID (the bug tracking the failing test, not this bug) as requested.

@arapte can be reviewer for this.

tests/system/src/test/java/test/robot/javafx/scene/RobotTest.java line 682:

> 680:         if (PlatformUtil.isWindows() && Screen.getPrimary().getOutputScaleX() > 1) {
> 681:             //Mark test as unstable for HiDPI scale greater than 100%
> 682:             Assume.assumeTrue(Boolean.getBoolean("unstable.test"));

Please add the BugID of the test failure bug. See [SwingNodeMemoryLeakTest.java#L88](https://github.com/openjdk/jfx/blob/fb6788a30160425a436a530a9cb511f633fb642b/tests/system/src/test/java/test/javafx/embed/swing/SwingNodeMemoryLeakTest.java#L88) for example.

tests/system/src/test/java/test/robot/javafx/scene/RobotTest.java line 738:

> 736:         if (PlatformUtil.isWindows() && Screen.getPrimary().getOutputScaleX() > 1) {
> 737:             //Mark test as unstable for HiDPI scale greater than 100%
> 738:             Assume.assumeTrue(Boolean.getBoolean("unstable.test"));

Please add the BugID of the test failure bug.

-------------

PR: https://git.openjdk.org/jfx/pull/951


More information about the openjfx-dev mailing list