buildx/dap
Jonathan A. Sternberg 8841b2dfc8
dap: ensure test client is closed on cleanup
The dap test wasn't waiting for the client's goroutines to complete
before exiting which caused a race condition that could cause it to log
to the dead test logger. This became apparent when `--count` of greater
than one was used since it caused the test to run long enough to trigger
the behavior. It would have also triggered if we had added more tests.

Add the client close to the cleanup so it waits for the goroutine to
finish before the test exits as it was properly supposed to do.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-09-03 10:51:01 -05:00
..
common dap: support stopOnEntry to configure behavior when starting the debugger 2025-07-07 09:39:23 -05:00
adapter.go dap: make exec shell persistent across the build 2025-08-11 12:40:09 -05:00
adapter_test.go dap: ensure test client is closed on cleanup 2025-09-03 10:51:01 -05:00
client_test.go dap: add debug adapter implementation 2025-06-30 10:51:20 -05:00
config.go dap: support stopOnEntry to configure behavior when starting the debugger 2025-07-07 09:39:23 -05:00
conn.go dap: add debug adapter implementation 2025-06-30 10:51:20 -05:00
debug_shell.go dap: make exec shell persistent across the build 2025-08-11 12:40:09 -05:00
eval.go dap: make exec shell persistent across the build 2025-08-11 12:40:09 -05:00
handler.go dap: support evaluate request to invoke a container 2025-07-15 10:45:25 -05:00
server.go dap: support evaluate request to invoke a container 2025-07-15 10:45:25 -05:00
thread.go Merge pull request #3366 from jsternberg/dap-detect-parent 2025-08-18 18:34:57 +03:00
variables.go dap: look for base name of dockerfile name instead of path from context 2025-08-15 14:41:00 -05:00