[Lldb-commits] [lldb] r260951 - Bump up timeout in TestChangeProcessGroup

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 16 01:58:50 PST 2016


Author: labath
Date: Tue Feb 16 03:58:50 2016
New Revision: 260951

URL: http://llvm.org/viewvc/llvm-project?rev=260951&view=rev
Log:
Bump up timeout in TestChangeProcessGroup

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.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py?rev=260951&r1=260950&r2=260951&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/process_group/TestChangeProcessGroup.py Tue Feb 16 03:58:50 2016
@@ -45,7 +45,7 @@ class ChangeProcessGroupTestCase(TestBas
                 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))
 




More information about the lldb-commits mailing list