gopls/internal/regtest/misc: skip TestInconsistentVendoring on Windows
This test is probably detecting a real bug that exclusively affects
Windows. To avoid masking other bugs, let's skip the test on that
platform until the bug is fixed.
For golang/go#49646
Change-Id: I38c615d47454ecfd72b416fff2018973b3ae9259
Reviewed-on: https://go-review.googlesource.com/c/tools/+/364676
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
diff --git a/gopls/internal/regtest/misc/vendor_test.go b/gopls/internal/regtest/misc/vendor_test.go
index 4e02799..0e615f2 100644
--- a/gopls/internal/regtest/misc/vendor_test.go
+++ b/gopls/internal/regtest/misc/vendor_test.go
@@ -5,6 +5,7 @@
package misc
import (
+ "runtime"
"testing"
. "golang.org/x/tools/internal/lsp/regtest"
@@ -26,6 +27,9 @@
func TestInconsistentVendoring(t *testing.T) {
testenv.NeedsGo1Point(t, 14)
+ if runtime.GOOS == "windows" {
+ t.Skipf("skipping test due to flakiness on Windows: https://golang.org/issue/49646")
+ }
const pkgThatUsesVendoring = `
-- go.mod --