Skip to content

Commit

Permalink
gopls/internal/regtest/watch: don't run TestSwitchFromGOPATHToModuleMode
Browse files Browse the repository at this point in the history
in experimental mode

This test no longer works with 'experimentalWorkspaceModule' set. That
option is being removed, but in the meantime only run the test in
default mode, to unbreak the longtest builders.

Fixes golang/go#57521

Change-Id: I95083f577f93116c342787eabf75e36cd05df9f3
Reviewed-on: https://go-review.googlesource.com/c/tools/+/459792
Reviewed-by: Alan Donovan <adonovan@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
Auto-Submit: Robert Findley <rfindley@google.com>
  • Loading branch information
findleyr authored and gopherbot committed Dec 30, 2022
1 parent e417ea3 commit b01e7a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gopls/internal/regtest/watch/watch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ func main() {
`
WithOptions(
InGOPATH(),
Modes(Default), // golang/go#57521: this test is temporarily failing in 'experimental' mode
EnvVars{"GO111MODULE": "auto"},
).Run(t, files, func(t *testing.T, env *Env) {
env.OpenFile("main.go")
Expand Down

0 comments on commit b01e7a4

Please sign in to comment.