cmd/godoc: skip TestWeb if waitForServerReady fails

This test fails frequently, with a failure mode that is difficult to
diagnose. (golang/go#50436 may help with that eventually.)

For now, skip the test to reduce noise on the build dashboard.

For golang/go#50014.

Change-Id: I182be5c705846631c983bd5b6c51ab90b71a216a
Reviewed-on: https://go-review.googlesource.com/c/tools/+/403534
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
Bryan C. Mills 2022-05-02 14:51:49 -04:00 committed by Gopher Robot
parent 6872d3b8cd
commit 04fc2ba822
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ func waitForServerReady(t *testing.T, cmd *exec.Cmd, addr string) {
15*time.Second,
false)
if err := <-ch; err != nil {
t.Fatal(err)
t.Skipf("skipping due to https://go.dev/issue/50014: %v", err)
}
}