Skip to content

Commit 6506e20

Browse files
committed
internal/lsp/fake: explicitly set GOPACKAGESDRIVER=off in regtests
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 <[email protected]> Reviewed-by: Rebecca Stambler <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
1 parent fadf93f commit 6506e20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/lsp/fake/sandbox.go

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ func (sb *Sandbox) GoEnv() []string {
107107
"GOPROXY=" + sb.Proxy.GOPROXY(),
108108
"GO111MODULE=",
109109
"GOSUMDB=off",
110+
"GOPACKAGESDRIVER=off",
110111
}
111112
if testenv.Go1Point() >= 5 {
112113
vars = append(vars, "GOMODCACHE=")

0 commit comments

Comments
 (0)