Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLakshmi Shanmugam2018-07-05 09:56:01 +0000
committerLakshmi Shanmugam2018-07-05 10:01:50 +0000
commit2b780e84b5e18379f86348ebb0e087e666a80b3f (patch)
treefde6454345a7e125b18ea4c9fded0e34216249e4 /tests
parent2967c58849c84e4c0f09287fdaf0814e74ecf64e (diff)
downloadeclipse.platform.swt-2b780e84b5e18379f86348ebb0e087e666a80b3f.tar.gz
eclipse.platform.swt-2b780e84b5e18379f86348ebb0e087e666a80b3f.tar.xz
eclipse.platform.swt-2b780e84b5e18379f86348ebb0e087e666a80b3f.zip
[Bug 536564] Test failures on Mac OS X 10.13 from I20180628-0230
The tests pass locally, increasing timeouts further to check if they pass on the test machine. Change-Id: I9436ba63b23c09bda1dcf73c265558da87d84a29
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java2
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Shell.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java
index 42e1084354..b740730fa4 100644
--- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java
+++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Display.java
@@ -219,7 +219,7 @@ public void test_getActiveShell() {
Shell shell = new Shell(display);
shell.setText("test_getActiveShell");
shell.open();
- drainEventQueue(display, 200); // workaround for https://bugs.eclipse.org/506680
+ drainEventQueue(display, 2000); // workaround for https://bugs.eclipse.org/506680
assertSame(shell, display.getActiveShell());
shell.dispose();
} finally {
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Shell.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Shell.java
index 289ae96c48..73554654ba 100644
--- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Shell.java
+++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Shell.java
@@ -508,7 +508,7 @@ public void test_setActive() {
Shell shell2 = new Shell();
shell2.open();
if (SwtTestUtil.isCocoa) {
- drainEventQueue(shell.getDisplay(), 1500); //workaround for Bug 536564
+ drainEventQueue(shell.getDisplay(), 5000); //workaround for Bug 536564
}
/* Test setActive for visible shell. */

Back to the top