diff options
author | Pavel Labath <labath@google.com> | 2015-08-19 15:24:02 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2015-08-19 15:24:02 +0000 |
commit | 4b48595adfdb262ceadef1b2c754445ce9cd50e5 (patch) | |
tree | f295d6064318f0c7db8f3764a471e19e7f46b26d | |
parent | 5bdf7ab0cf40522e89098bd21c6b00ac3895965a (diff) | |
download | bcm5719-llvm-4b48595adfdb262ceadef1b2c754445ce9cd50e5.tar.gz bcm5719-llvm-4b48595adfdb262ceadef1b2c754445ce9cd50e5.zip |
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
-rw-r--r-- | lldb/test/expression_command/call-restarts/TestCallThatRestarts.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py b/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py index c79d855b850..fddd9a5c916 100644 --- a/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py +++ b/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py @@ -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) |