diff options
Diffstat (limited to 'go/packages/packagestest/modules.go')
-rw-r--r-- | go/packages/packagestest/modules.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/go/packages/packagestest/modules.go b/go/packages/packagestest/modules.go index 2e06612c1..6d46d9ba7 100644 --- a/go/packages/packagestest/modules.go +++ b/go/packages/packagestest/modules.go @@ -116,7 +116,9 @@ func (modules) Finalize(exported *Exported) error { exported.Config.Env = append(exported.Config.Env, "GO111MODULE=on", "GOPATH="+filepath.Join(exported.temp, "modcache"), - "GOPROXY="+proxyDirToURL(proxyDir)) + "GOPROXY="+proxyDirToURL(proxyDir), + "GOSUMDB=off", + ) // Run go mod download to recreate the mod cache dir with all the extra // stuff in cache. All the files created by Export should be recreated. |