diff options
| author | Paul Scott <408401+icio@users.noreply.github.com> | 2023-09-11 19:06:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-11 19:06:11 +0100 |
| commit | 683ba62f3e904e5ab7c60c40a265e9d0fe84fd60 (patch) | |
| tree | 222cb7c0933c6c50c0b8c75e38d20aed0eab7075 /control/controlknobs/controlknobs.go | |
| parent | 0396366aae461bfae7d7a9d7336f516ab1b5653e (diff) | |
| download | tailscale-683ba62f3e904e5ab7c60c40a265e9d0fe84fd60.tar.xz tailscale-683ba62f3e904e5ab7c60c40a265e9d0fe84fd60.zip | |
cmd/testwrapper: fix exit deflake (#9342)
Sometimes `go test` would exit and close its stdout before we started reading
it, and we would return that "file closed" error then forget to os.Exit(1).
Fixed to prefer the go test subprocess error and exit regardless of the type of
error.
Fixes #9334
Signed-off-by: Paul Scott <paul@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions
