mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Bug 439926 - Race condition between's test 2 second timeout and launch's
2 second timeout. Change-Id: I31632107b1bd667239ab6892268c02d30d0bafa7 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
parent
c94b40cf94
commit
74b4766793
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@ public class CommandTimeoutTest extends BaseTestCase {
|
|||
// Enable timeout
|
||||
IEclipsePreferences node = InstanceScope.INSTANCE.getNode( GdbPlugin.PLUGIN_ID );
|
||||
node.putBoolean( IGdbDebugPreferenceConstants.PREF_COMMAND_TIMEOUT, true );
|
||||
node.putInt( IGdbDebugPreferenceConstants.PREF_COMMAND_TIMEOUT_VALUE, 2000 );
|
||||
// Timeout must be shorter than the launch's timeout of 2 seconds (see BaseTestCase.doLaunch())
|
||||
node.putInt( IGdbDebugPreferenceConstants.PREF_COMMAND_TIMEOUT_VALUE, 1000 );
|
||||
|
||||
// Setup a remote launch so that it sends a "-target-remote" as part of the
|
||||
// launch steps.
|
||||
|
|
Loading…
Add table
Reference in a new issue