Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2017-06-22 10:46:44 -0400
committerJonah Graham2017-06-22 11:34:50 -0400
commit8d26859710f820c3dbe4c2bd021a0ca8a3f96dae (patch)
treef4331444842d89907e9401c8d27cbb42bbaf41c7 /dsf-gdb
parent125220eb635e23345b7df22dd540e1d057f3a4f3 (diff)
downloadorg.eclipse.cdt-8d26859710f820c3dbe4c2bd021a0ca8a3f96dae.tar.gz
org.eclipse.cdt-8d26859710f820c3dbe4c2bd021a0ca8a3f96dae.tar.xz
org.eclipse.cdt-8d26859710f820c3dbe4c2bd021a0ca8a3f96dae.zip
Bug 518643: Increase wait for CDT to quit GDB
This is due to a new 500ms delay between inferior exiting and CDT killing GDB. Change-Id: I561f69e74caff3e82d89fd8cf2e4babe2c30392a
Diffstat (limited to 'dsf-gdb')
-rw-r--r--dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/OperationsWhileTargetIsRunningTest.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/OperationsWhileTargetIsRunningTest.java b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/OperationsWhileTargetIsRunningTest.java
index 63bfdb6038..e5d31251d7 100644
--- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/OperationsWhileTargetIsRunningTest.java
+++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/src/org/eclipse/cdt/tests/dsf/gdb/tests/OperationsWhileTargetIsRunningTest.java
@@ -203,7 +203,8 @@ public class OperationsWhileTargetIsRunningTest extends BaseParametrizedTestCase
// The shutdown must happen quickly, which will confirm that it was
// our own terminate that did it. If it take longer, it indicates
// that the program terminated on its own, which is not what we want.
- shutdownEventWaitor.waitForEvent(TestsPlugin.massageTimeout(500));
+ // See Bug 518643 for details as to length of this delay
+ shutdownEventWaitor.waitForEvent(TestsPlugin.massageTimeout(1000));
// Now make sure GDB is dead
Assert.assertTrue("GDB should have been terminated", !fControl.isActive());
@@ -286,7 +287,8 @@ public class OperationsWhileTargetIsRunningTest extends BaseParametrizedTestCase
// The shutdown must happen quickly, which will confirm that it was
// our own terminate that did it. If it take longer, it indicates
// that the program terminated on its own, which is not what we want.
- shutdownEventWaitor.waitForEvent(TestsPlugin.massageTimeout(500));
+ // See Bug 518643 for details as to length of this delay
+ shutdownEventWaitor.waitForEvent(TestsPlugin.massageTimeout(1000));
// Now make sure GDB is dead
Assert.assertTrue("GDB should have been terminated", !fControl.isActive());

Back to the top