[Lldb-commits] [lldb] [lldb-dap] Fix DAPError (PR #145010)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 20 08:17:54 PDT 2025


================
@@ -101,7 +101,8 @@ def test_server_interrupt(self):
         # Interrupt the server which should disconnect all clients.
         process.send_signal(signal.SIGINT)
 
-        self.dap_server.wait_for_terminated()
+        self.dap_server.wait_for_event(["terminated", "exited"])
+        self.dap_server.wait_for_event(["terminated", "exited"])
----------------
JDevlieghere wrote:

What's the purpose of doing this twice? To see both events in arbitrary order? 

https://github.com/llvm/llvm-project/pull/145010


More information about the lldb-commits mailing list