[Lldb-commits] [PATCH] D99497: [LLDB] Fix sync issue in TestVSCode_launch.test_progress_events
Muhammad Omair Javaid via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 1 02:18:27 PDT 2021
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':
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99497.334622.patch
Type: text/x-patch
Size: 931 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210401/0be8769d/attachment-0001.bin>
More information about the lldb-commits
mailing list