RFR: 8304922: [testbug] SliderTooltipNPETest fails on Linux
Kevin Rushforth
kcr at openjdk.org
Fri Apr 28 14:36:54 UTC 2023
On Fri, 28 Apr 2023 12:06:51 GMT, Karthik P K <kpk at openjdk.org> wrote:
> The test was failing on the first run and then it was not failing. Cause for the failure looked to be the UI state not getting updated. Hence added call to `Toolkit` `firePulse` method.
>
> Able to run the test consistently without failure in Linux after the fix.
It doesn't work for me.
tests/system/src/test/java/test/robot/javafx/scene/SliderTooltipNPETest.java line 97:
> 95: (int)(scene.getWindow().getY() + scene.getY() +
> 96: slider.getLayoutY() + slider.getLayoutBounds().getHeight()/2));
> 97: Toolkit.getToolkit().firePulse();
A system test should not need to use `firePulse`, and I can't think why this would help. In any case, I still see the failure on my Ubuntu 22.04 VM.
-------------
PR Review: https://git.openjdk.org/jfx/pull/1119#pullrequestreview-1405907120
PR Review Comment: https://git.openjdk.org/jfx/pull/1119#discussion_r1180380110
More information about the openjfx-dev
mailing list