--- old/test/java/awt/TrayIcon/TrayIconMouseTest/TrayIconMouseTest.java 2015-10-28 14:50:14.133690500 +0300 +++ new/test/java/awt/TrayIcon/TrayIconMouseTest/TrayIconMouseTest.java 2015-10-28 14:50:13.631651100 +0300 @@ -66,6 +66,10 @@ } else { if (System.getProperty("os.name").toLowerCase().startsWith("mac")) { isMacOS = true; + } else if (SystemTrayIconHelper.isOel7()) { + System.out.println("OEL 7 doesn't support double click in " + + "systray. Skipped"); + return; } new TrayIconMouseTest().doTest(); } @@ -108,7 +112,7 @@ for (int i = 0; i < buttonTypes.length; i++) { actionPerformed = false; robot.click(buttonTypes[i]); - robot.waitForIdle(2000); + robot.waitForIdle(6000); if (isMacOS && actionPerformed && i == 2) { @@ -155,7 +159,7 @@ if (! actionPerformed) { synchronized (actionLock) { try { - actionLock.wait(3000); + actionLock.wait(6000); } catch (Exception e) { } }