8224632: testbug: java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java fails on MacOS
authorprr
Fri, 24 May 2019 13:52:33 -0700
changeset 55182 779a8d44523b
parent 55181 0b1f4dafd492
child 55183 4929c53ff29d
8224632: testbug: java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java fails on MacOS Reviewed-by: serb, psadhukhan
test/jdk/java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java
--- a/test/jdk/java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java	Fri May 24 13:50:56 2019 -0700
+++ b/test/jdk/java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java	Fri May 24 13:52:33 2019 -0700
@@ -60,10 +60,10 @@
 /**
  * @test
  * @key headful
- * @bug 4393148 8136999 8186263
+ * @bug 4393148 8136999 8186263 8224632
  * @summary tests that removal of the drop target or disposal of frame during
  *          drop processing doesn't cause crash
- * @run main RemoveDropTargetCrashTest RUN_PROCESS
+ * @run main/timeout=300 RemoveDropTargetCrashTest RUN_PROCESS
  */
 public class RemoveDropTargetCrashTest {
 
@@ -301,7 +301,7 @@
                 + " " + RemoveDropTargetCrashTest.class.getName() + " " + RUN_TEST;
 
         Process process = Runtime.getRuntime().exec(command);
-        boolean processExit = process.waitFor(100, TimeUnit.SECONDS);
+        boolean processExit = process.waitFor(200, TimeUnit.SECONDS);
 
         StringBuilder inStream = new StringBuilder();
         StringBuilder errStream = new StringBuilder();