summaryrefslogtreecommitdiffstats
path: root/lldb/test/expression_command/timeout/TestCallWithTimeout.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/expression_command/timeout/TestCallWithTimeout.py')
-rw-r--r--lldb/test/expression_command/timeout/TestCallWithTimeout.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/expression_command/timeout/TestCallWithTimeout.py b/lldb/test/expression_command/timeout/TestCallWithTimeout.py
index fb9b7d04002..6ca21bca223 100644
--- a/lldb/test/expression_command/timeout/TestCallWithTimeout.py
+++ b/lldb/test/expression_command/timeout/TestCallWithTimeout.py
@@ -57,7 +57,7 @@ class ExprCommandWithTimeoutsTestCase(TestBase):
# First set the timeout too short, and make sure we fail.
options = lldb.SBExpressionOptions()
- options.SetTimeoutUsec(100)
+ options.SetTimeoutInMicroSeconds(100)
options.SetUnwindOnError(True)
frame = thread.GetFrameAtIndex(0)
@@ -75,7 +75,7 @@ class ExprCommandWithTimeoutsTestCase(TestBase):
# Okay, now do it again with long enough time outs:
- options.SetTimeoutUsec(1000000)
+ options.SetTimeoutInMicroSeconds(1000000)
value = frame.EvaluateExpression ("wait_a_while (1000)", options)
self.assertTrue(value.IsValid())
self.assertTrue (value.GetError().Success() == True)
OpenPOWER on IntegriCloud