File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
lldb/test/API/tools/lldb-dap/attach Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -239,18 +239,17 @@ def test_session_id_update(self):
239239 )
240240
241241 postRunCommands = [
242- "script print('Actual_Session_ID: ' + str(os.getenv('VSCODE_DEBUG_SESSION_ID')))"
242+ "script print('Actual_Session_ID: ' + str(os.getenv('VSCODE_DEBUG_SESSION_ID', 'None' )))"
243243 ]
244244 self .attach (
245245 pid = self .process .pid ,
246- vscode_session_id = "test_session_id" ,
247246 postRunCommands = postRunCommands ,
248247 )
249248 output = self .get_console ()
250249 lines = filter (lambda x : "Actual_Session_ID" in x , output .splitlines ())
251250 self .assertTrue (
252- any ("test_session_id " in l for l in lines ),
253- "expect session id in console output " ,
251+ any ("Actual_Session_ID: None " in l for l in lines ),
252+ "expect session id to be None when not set " ,
254253 )
255254
256255 def test_session_id_update_empty (self ):
You can’t perform that action at this time.
0 commit comments