TestVSCode_disconnect.test_launch fails with clean up error because disconnect gets called twice once from the test case and once from the tear down hook.
This patch disables disconnect after its been called from the test_launch
Paths
| Differential D99491
[LLDB] Fix cleanup error in TestVSCode_disconnect.test_launch ClosedPublic Authored by omjavaid on Mar 29 2021, 2:38 AM.
Details Summary TestVSCode_disconnect.test_launch fails with clean up error because disconnect gets called twice once from the test case and once from the tear down hook. This patch disables disconnect after its been called from the test_launch
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 29 2021, 10:55 AM This revision was landed with ongoing or failed builds.Mar 30 2021, 3:37 AM Closed by commit rG42c3b5e5b6ff: Fix cleanup error in TestVSCode_disconnect.test_launch (authored by omjavaid). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 334103 lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py
lldb/test/API/tools/lldb-vscode/disconnect/TestVSCode_disconnect.py
|