[Lldb-commits] [lldb] r374375 - Increase timeout in pexpect to lower chances of tests failing under ASAN.

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 10 09:16:49 PDT 2019


Author: adrian
Date: Thu Oct 10 09:16:49 2019
New Revision: 374375

URL: http://llvm.org/viewvc/llvm-project?rev=374375&view=rev
Log:
Increase timeout in pexpect to lower chances of tests failing under ASAN.

If this doesn't actually work, I'll revert the change and just disable
the remaining thee pexpect tests under asan.

Modified:
    lldb/trunk/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py

Modified: lldb/trunk/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py?rev=374375&r1=374374&r2=374375&view=diff
==============================================================================
--- lldb/trunk/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py (original)
+++ lldb/trunk/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py Thu Oct 10 09:16:49 2019
@@ -640,7 +640,7 @@ class spawn(SpawnBase):
             # this to happen. I think isalive() reports True, but the
             # process is dead to the kernel.
             # Make one last attempt to see if the kernel is up to date.
-            time.sleep(self.delayafterterminate)
+            time.sleep(self.delayafterterminate * 10)
             if not self.isalive():
                 return True
             else:




More information about the lldb-commits mailing list