Skip to content

Commit

Permalink
internal/lsp/fake: explicitly set GOPACKAGESDRIVER=off in regtests
Browse files Browse the repository at this point in the history
In the past, changes to GOPACKAGESDRIVER have led to some confusing
regtest failures. Explicitly set it off.

Updates golang/go#39384

Change-Id: I303a58380a5e46e6621c19b2edc40d43199bb343
Reviewed-on: https://go-review.googlesource.com/c/tools/+/240058
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
  • Loading branch information
findleyr committed Jun 25, 2020
1 parent fadf93f commit 6506e20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/lsp/fake/sandbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ func (sb *Sandbox) GoEnv() []string {
"GOPROXY=" + sb.Proxy.GOPROXY(),
"GO111MODULE=",
"GOSUMDB=off",
"GOPACKAGESDRIVER=off",
}
if testenv.Go1Point() >= 5 {
vars = append(vars, "GOMODCACHE=")
Expand Down

0 comments on commit 6506e20

Please sign in to comment.