<AWT Dev> [jdk17] RFR: 8015886: java/awt/Focus/DeiconifiedFrameLoosesFocus/DeiconifiedFrameLoosesFocus.java sometimes failed on ubuntu [v2]
serb at openjdk.java.net
Thu Jul 22 22:45:06 UTC 2021
On Thu, 22 Jul 2021 20:49:36 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:
>> This test can fail pretty consistently on some slow systems. Increased delay fixes the issue.
>> We do have similar fix in #260
> Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:
> year bump
test/jdk/java/awt/Focus/DeiconifiedFrameLoosesFocus/DeiconifiedFrameLoosesFocus.java line 82:
> 81: Util.waitForIdle(robot);
> 82: robot.delay(200);
I remember some similar issues, so I 'grep" our tests. Looks like usually a bigger delay is used, like 500 or even 1 second.
More information about the awt-dev