[Lldb-commits] [lldb] r267554 - Bump up timeout in TestCallWithTimeout

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 26 06:37:24 PDT 2016


Author: labath
Date: Tue Apr 26 08:37:24 2016
New Revision: 267554

URL: http://llvm.org/viewvc/llvm-project?rev=267554&view=rev
Log:
Bump up timeout in TestCallWithTimeout

Expression very rarely (linux buildbot, build 13907) completed before we managed to interrupt it.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py?rev=267554&r1=267553&r2=267554&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py Tue Apr 26 08:37:24 2016
@@ -57,7 +57,7 @@ class ExprCommandWithTimeoutsTestCase(Te
 
         frame = thread.GetFrameAtIndex(0)
         
-        value = frame.EvaluateExpression ("wait_a_while (200000)", options)
+        value = frame.EvaluateExpression("wait_a_while(250000)", options)
         self.assertTrue (value.IsValid())
         self.assertFalse (value.GetError().Success())
 
@@ -65,7 +65,7 @@ class ExprCommandWithTimeoutsTestCase(Te
         interp = self.dbg.GetCommandInterpreter()
 
         result = lldb.SBCommandReturnObject()
-        return_value = interp.HandleCommand ("expr -t 100 -u true -- wait_a_while(200000)", result)
+        return_value = interp.HandleCommand("expr -t 100 -u true -- wait_a_while(250000)", result)
         self.assertTrue (return_value == lldb.eReturnStatusFailed)
 
         # Okay, now do it again with long enough time outs:




More information about the lldb-commits mailing list