mirror of https://github.com/docker/buildx.git
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> |
||
|---|---|---|
| .. | ||
| common | ||
| adapter.go | ||
| adapter_test.go | ||
| client_test.go | ||
| config.go | ||
| conn.go | ||
| debug_shell.go | ||
| eval.go | ||
| handler.go | ||
| server.go | ||
| thread.go | ||
| variables.go | ||