mirror of https://github.com/tailscale/tailscale/
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>pull/9353/head
parent
0396366aae
commit
683ba62f3e
Loading…
Reference in New Issue