@@ -44,7 +44,7 @@ def test_termination(self):
44
44
self .dap_server .request_disconnect ()
45
45
46
46
# Wait until the underlying lldb-dap process dies.
47
- self .dap_server .process .wait (timeout = 10 )
47
+ self .dap_server .process .wait (timeout = lldbdap_testcase . DAPTestCaseBase . timeoutval )
48
48
49
49
# Check the return code
50
50
self .assertEqual (self .dap_server .process .poll (), 0 )
@@ -334,14 +334,14 @@ def test_commands(self):
334
334
# Get output from the console. This should contain both the
335
335
# "stopCommands" that were run after the first breakpoint was hit
336
336
self .continue_to_breakpoints (breakpoint_ids )
337
- output = self .get_console (timeout = 1.0 )
337
+ output = self .get_console (timeout = lldbdap_testcase . DAPTestCaseBase . timeoutval )
338
338
self .verify_commands ("stopCommands" , output , stopCommands )
339
339
340
340
# Continue again and hit the second breakpoint.
341
341
# Get output from the console. This should contain both the
342
342
# "stopCommands" that were run after the second breakpoint was hit
343
343
self .continue_to_breakpoints (breakpoint_ids )
344
- output = self .get_console (timeout = 1.0 )
344
+ output = self .get_console (timeout = lldbdap_testcase . DAPTestCaseBase . timeoutval )
345
345
self .verify_commands ("stopCommands" , output , stopCommands )
346
346
347
347
# Continue until the program exits
@@ -402,21 +402,21 @@ def test_extra_launch_commands(self):
402
402
self .verify_commands ("launchCommands" , output , launchCommands )
403
403
# Verify the "stopCommands" here
404
404
self .continue_to_next_stop ()
405
- output = self .get_console (timeout = 1.0 )
405
+ output = self .get_console (timeout = lldbdap_testcase . DAPTestCaseBase . timeoutval )
406
406
self .verify_commands ("stopCommands" , output , stopCommands )
407
407
408
408
# Continue and hit the second breakpoint.
409
409
# Get output from the console. This should contain both the
410
410
# "stopCommands" that were run after the first breakpoint was hit
411
411
self .continue_to_next_stop ()
412
- output = self .get_console (timeout = 1.0 )
412
+ output = self .get_console (timeout = lldbdap_testcase . DAPTestCaseBase . timeoutval )
413
413
self .verify_commands ("stopCommands" , output , stopCommands )
414
414
415
415
# Continue until the program exits
416
416
self .continue_to_exit ()
417
417
# Get output from the console. This should contain both the
418
418
# "exitCommands" that were run after the second breakpoint was hit
419
- output = self .get_console (timeout = 1.0 )
419
+ output = self .get_console (timeout = lldbdap_testcase . DAPTestCaseBase . timeoutval )
420
420
self .verify_commands ("exitCommands" , output , exitCommands )
421
421
422
422
@skipIfWindows
0 commit comments