8224632: testbug: java/awt/dnd/RemoveDropTargetCrashTest/RemoveDropTargetCrashTest.java fails on MacOS
Reviewed-by: serb, psadhukhan
This commit is contained in:
parent
cf5f70d4ec
commit
a34bbe6c30
@ -60,10 +60,10 @@ import java.util.concurrent.TimeUnit;
|
|||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
* @key headful
|
* @key headful
|
||||||
* @bug 4393148 8136999 8186263
|
* @bug 4393148 8136999 8186263 8224632
|
||||||
* @summary tests that removal of the drop target or disposal of frame during
|
* @summary tests that removal of the drop target or disposal of frame during
|
||||||
* drop processing doesn't cause crash
|
* drop processing doesn't cause crash
|
||||||
* @run main RemoveDropTargetCrashTest RUN_PROCESS
|
* @run main/timeout=300 RemoveDropTargetCrashTest RUN_PROCESS
|
||||||
*/
|
*/
|
||||||
public class RemoveDropTargetCrashTest {
|
public class RemoveDropTargetCrashTest {
|
||||||
|
|
||||||
@ -301,7 +301,7 @@ public class RemoveDropTargetCrashTest {
|
|||||||
+ " " + RemoveDropTargetCrashTest.class.getName() + " " + RUN_TEST;
|
+ " " + RemoveDropTargetCrashTest.class.getName() + " " + RUN_TEST;
|
||||||
|
|
||||||
Process process = Runtime.getRuntime().exec(command);
|
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 inStream = new StringBuilder();
|
||||||
StringBuilder errStream = new StringBuilder();
|
StringBuilder errStream = new StringBuilder();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user