aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2025-11-13 14:33:53 -0500
committerRuss Cox <rsc@golang.org>2025-11-13 13:48:15 -0800
commitff61991aed2871301e3f4fafff65fd67d6b170b5 (patch)
treef476219fd9ac034ba07aafd67b4bd5d2c74706ca /src
parent129d0cb543e1e15cdea706dd7230ee90c8d54446 (diff)
downloadgo-ff61991aed2871301e3f4fafff65fd67d6b170b5.tar.xz
cmd/go: fix flaky TestScript/mod_get_direct
Use our local git server instead of cloud.google.com/go, which may go down or otherwise reject our traffic. I built and installed git 2.23.0 and confirmed that this updated test still fails if CL 196961 is rolled back. So the test is still accurate at detecting the problem. Change-Id: I58011f6cc62af2f21fbbcc526ba5401f4186eeaf Reviewed-on: https://go-review.googlesource.com/c/go/+/720322 Reviewed-by: Michael Matloob <matloob@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Matloob <matloob@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/go/testdata/script/mod_get_direct.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/go/testdata/script/mod_get_direct.txt b/src/cmd/go/testdata/script/mod_get_direct.txt
index 02b10ab6fd..2c89576446 100644
--- a/src/cmd/go/testdata/script/mod_get_direct.txt
+++ b/src/cmd/go/testdata/script/mod_get_direct.txt
@@ -2,14 +2,14 @@
# 'GOPROXY=direct go get golang.org/x/tools/gopls@master' did not correctly
# resolve the pseudo-version for its dependency on golang.org/x/tools.
-[!net:cloud.google.com] skip
+[short] skip
[!git] skip
env GO111MODULE=on
env GOPROXY=direct
env GOSUMDB=off
-go list -m cloud.google.com/go@main
+go list -m vcs-test.golang.org/git/tagtests.git@master
! stdout 'v0.0.0-'
-- go.mod --