[Lldb-commits] [lldb] d302e33 - [LLDB] Sleep for 5 second TestVSCode_launch test_progress_events

Muhammad Omair Javaid via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 2 15:04:46 PDT 2021


Author: Muhammad Omair Javaid
Date: 2021-04-03T03:04:37+05:00
New Revision: d302e33b9708524f79db0b3a3450b370fd9fc36f

URL: https://github.com/llvm/llvm-project/commit/d302e33b9708524f79db0b3a3450b370fd9fc36f
DIFF: https://github.com/llvm/llvm-project/commit/d302e33b9708524f79db0b3a3450b370fd9fc36f.diff

LOG: [LLDB] Sleep for 5 second TestVSCode_launch test_progress_events

This increases sleep time to 5 seconds as the test still fails
intermittently. If failure persists then we will disable/fix the
test.

Added: 
    

Modified: 
    lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py b/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
index dc4549cd3251c..e69003c135b00 100644
--- a/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
+++ b/lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
@@ -485,8 +485,8 @@ def test_progress_events(self):
         # Iterate over all progress events and save all start and end IDs, and
         # remember any shared libraries that got symbol table parsing progress
         # events.
-        # Sleep for 2 seconds to make sure progress_events gets populated
-        time.sleep(2)
+        # Sleep for 5 seconds to make sure progress_events gets populated
+        time.sleep(5)
         for progress_event in self.vscode.progress_events:
             event_type = progress_event['event']
             if event_type == 'progressStart':


        


More information about the lldb-commits mailing list