diff options
author | Bryan C. Mills <bcmills@google.com> | 2022-12-02 14:52:34 -0500 |
---|---|---|
committer | Bryan Mills <bcmills@google.com> | 2022-12-02 20:16:17 +0000 |
commit | 5efa4dab917a65ba9b70553c9df8962dc3cac3ca (patch) | |
tree | 3f426b0c24b9309079c76dbd03e760ae48f62d62 | |
parent | 79559c1e7e426415ea8c7920c36b2fb4ebd7dbf0 (diff) | |
download | go-5efa4dab917a65ba9b70553c9df8962dc3cac3ca.tar.gz go-5efa4dab917a65ba9b70553c9df8962dc3cac3ca.zip |
cmd/go: skip TestScript/mod_replace_gopkgin
(Until it can be made hermetic.)
The gopkg.in service has had a lot of flakiness lately. Go users in
general are isolated from that flakiness by the Go module mirror
(proxy.golang.org), but this test intentionally bypasses the module
mirror because the mirror itself uses cmd/go to download the module.
In the long term, we can redirect the gopkg.in URL to the local
(in-process) vcweb server added for #27494.
In the meantime, let's skip the test to reduce the impact of upstream
outages.
For #54503.
Change-Id: Icf3de7ca416db548e53864a71776fe22b444fcea
Reviewed-on: https://go-review.googlesource.com/c/go/+/454503
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
-rw-r--r-- | src/cmd/go/testdata/script/mod_replace_gopkgin.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/mod_replace_gopkgin.txt b/src/cmd/go/testdata/script/mod_replace_gopkgin.txt index 996dccd29f..04b79dd55d 100644 --- a/src/cmd/go/testdata/script/mod_replace_gopkgin.txt +++ b/src/cmd/go/testdata/script/mod_replace_gopkgin.txt @@ -4,6 +4,9 @@ # even if there is an explicit go.mod file containing the # gopkg.in path. +skip 'skipping test that depends on an unreliable third-party server; see https://go.dev/issue/54503' + # TODO(#54043): Make this test hermetic and re-enable it. + [short] skip [!net] skip [!git] skip |