llvm-project
24fc2824 - [lldb] Wait for file to start test_attach_commandline_continue_app_exits (#227317)

Commit
50 days ago
[lldb] Wait for file to start test_attach_commandline_continue_app_exits (#227317) `test_attach_commandline_continue_app_exits` starts an inferior that exits 3s after writing its syncfile. Under load the harness and lldb-server take longer than that to reach `DebugActiveProcess`. On Windows, the attach fails with `ERROR_ACCESS_DENIED` and lldb-server exits without connecting, and the test waits 60s in `accept()`. This patch gives the inferior a `waitfile:` argument and create the file once the stub has attached. rdar://188700994
Parents
Loading