Increase timeout in TestCallThatRestarts

the test was failing on android because processing 30 signals involved a lot of round-trips,
which was not possible in the 0.5s default timeout. After the increase the test seems to pass
reliably.

llvm-svn: 245448
This commit is contained in:
Pavel Labath 2015-08-19 15:24:02 +00:00
parent 5bdf7ab0cf
commit 4b48595adf
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ class ExprCommandThatRestartsTestCase(TestBase):
self.assertTrue (self.start_sigchld_no != -1, "Got an actual value for sigchld_no")
options = lldb.SBExpressionOptions()
# processing 30 signals takes a while, increase the expression timeout a bit
options.SetTimeoutInMicroSeconds(3000000) # 3s
options.SetUnwindOnError(True)
frame = self.thread.GetFrameAtIndex(0)