This revision was automatically updated to reflect the committed changes.
Closed by commit rGb468f0e165ed: [LLDB] Fix sync issue in 
TestVSCode_launch.test_progress_events (authored by omjavaid).
Herald added a project: LLDB.

Changed prior to commit:
  https://reviews.llvm.org/D99497?vs=333819&id=334622#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99497/new/

https://reviews.llvm.org/D99497

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


Index: lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
===================================================================
--- lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
+++ lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
@@ -454,7 +454,6 @@
 
     @skipIfWindows
     @skipIfRemote
-    @skipIf(oslist=["linux"])
     def test_progress_events(self):
         '''
             Tests the progress events to ensure we are receiving them.
@@ -486,6 +485,8 @@
         # 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)
         for progress_event in self.vscode.progress_events:
             event_type = progress_event['event']
             if event_type == 'progressStart':


Index: lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
===================================================================
--- lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
+++ lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
@@ -454,7 +454,6 @@
 
     @skipIfWindows
     @skipIfRemote
-    @skipIf(oslist=["linux"])
     def test_progress_events(self):
         '''
             Tests the progress events to ensure we are receiving them.
@@ -486,6 +485,8 @@
         # 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)
         for progress_event in self.vscode.progress_events:
             event_type = progress_event['event']
             if event_type == 'progressStart':
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to