We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 95fb583 + 37086ca commit 6a0f62cCopy full SHA for 6a0f62c
lldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
@@ -46,12 +46,8 @@ def test_termination(self):
46
self.vscode.request_disconnect()
47
48
# Wait until the underlying lldb-vscode process dies.
49
- # We need to do this because the popen.wait function in python2.7
50
- # doesn't have a timeout argument.
51
- for _ in range(10):
52
- time.sleep(1)
53
- if self.vscode.process.poll() is not None:
54
- break
+ self.vscode.process.wait(timeout=10)
+
55
# Check the return code
56
self.assertEqual(self.vscode.process.poll(), 0)
57
0 commit comments