mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
129d0cb543
commit
ff61991aed
1 changed files with 2 additions and 2 deletions
|
|
@ -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 --
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue