This is an older test that failed intermittently but had a fix specifically for 
mac systems by adding key presses on mac only. This test still intermittently 
failed after this fix long ago and was problem listed. 

I ran this test 100 times on each OS after applying waitForIdle and delays 
between all key presses to match the delays previously present in the test.

I also added a debug line and save and image of the failing window upon failure 
to better debug if/when the test ever fails again. The debug line is to check 
if the previous fix for mac is relevant in the failure. The image shows the 
status of the window and what is focused at the time of failure.

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

Commit messages:
 - Update test with standardized delays and waitForIdle after window is 
visible. Add debug line and image for potential future failures.

Changes: https://git.openjdk.org/jdk/pull/11227/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11227&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8239801
  Stats: 26 lines in 2 files changed: 19 ins; 1 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/11227.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11227/head:pull/11227

PR: https://git.openjdk.org/jdk/pull/11227

Reply via email to