mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Previously, the waitForServer family of helpers would wait anywhere between 15 seconds to 2 minutes for the server to become ready. But if there's a problem that results in the server exiting early, that wasn't being detected quickly. This change modifies tests to also wait for command to exit, and fail the test quickly if so. This helps during development. Updates golang/go#33655 Change-Id: I16195715449015d7250a2d0de5e55ab9a1ef078d Reviewed-on: https://go-review.googlesource.com/c/tools/+/196979 Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>