Bump up timeout in TestChangeProcessGroup
authorPavel Labath <labath@google.com>
Tue, 16 Feb 2016 09:58:50 +0000 (09:58 +0000)
committerPavel Labath <labath@google.com>
Tue, 16 Feb 2016 09:58:50 +0000 (09:58 +0000)
The test fails very rarely. I suspect this is simply because the inferior does not have enough
time to create the file under heavy load.

llvm-svn: 260951

lldb/packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py

index fde93b7..5aa6e79 100644 (file)
@@ -45,7 +45,7 @@ class ChangeProcessGroupTestCase(TestBase):
                 print(msg)
             if i < max_attempts:
                 # Exponential backoff!
-                time.sleep(pow(2, i) * 0.25)
+                time.sleep(pow(2, i) * 0.30)
         else:
             self.fail("Child PID file %s not found even after %d attempts." % (pid_file_path, max_attempts))