diff options
Diffstat (limited to 'lldb/packages/Python')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lldbutil.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbutil.py b/lldb/packages/Python/lldbsuite/test/lldbutil.py index bf170066271..021ae2db8f4 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbutil.py +++ b/lldb/packages/Python/lldbsuite/test/lldbutil.py @@ -1038,6 +1038,7 @@ def wait_for_file_on_target(testcase, file_path, max_attempts = 6): break if i < max_attempts: # Exponential backoff! + import time time.sleep(pow(2, i) * 0.25) else: testcase.fail("File %s not found even after %d attempts." % (file_path, max_attempts)) |