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 <rfindley@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Rob Findley 2020-06-25 14:11:16 -04:00 committed by Robert Findley
parent fadf93ffb2
commit 6506e20df3
1 changed files with 1 additions and 0 deletions

View File

@ -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=")