Increase timeout in pexpect to lower chances of tests failing under ASAN.
authorAdrian Prantl <aprantl@apple.com>
Thu, 10 Oct 2019 16:16:49 +0000 (16:16 +0000)
committerAdrian Prantl <aprantl@apple.com>
Thu, 10 Oct 2019 16:16:49 +0000 (16:16 +0000)
If this doesn't actually work, I'll revert the change and just disable
the remaining thee pexpect tests under asan.

llvm-svn: 374375

lldb/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py

index e0e2b54..6b9ad3f 100644 (file)
@@ -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: