Those tests were failing on Solaris, which is no longer supported. They pass as they are, but decreasing of delays reduce execution time significantly:
e.g. proposed changes drops execution time from ~5min to ~2 min for MouseButtonsAndKeyMasksTest on my machine. Testing is green on all platforms. ------------- Commit messages: - initial Changes: https://git.openjdk.java.net/jdk/pull/8339/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8339&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8129778 Stats: 44 lines in 4 files changed: 22 ins; 6 del; 16 mod Patch: https://git.openjdk.java.net/jdk/pull/8339.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/8339/head:pull/8339 PR: https://git.openjdk.java.net/jdk/pull/8339