Skip to content

Commit 771dabf

Browse files
author
Bryan C. Mills
committed
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 <[email protected]> Run-TryBot: Bryan C. Mills <[email protected]> gopls-CI: kokoro <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Robert Findley <[email protected]>
1 parent 7d6c71f commit 771dabf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gopls/internal/regtest/misc/vendor_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
package misc
66

77
import (
8+
"runtime"
89
"testing"
910

1011
. "golang.org/x/tools/internal/lsp/regtest"
@@ -26,6 +27,9 @@ var Goodbye error
2627

2728
func TestInconsistentVendoring(t *testing.T) {
2829
testenv.NeedsGo1Point(t, 14)
30+
if runtime.GOOS == "windows" {
31+
t.Skipf("skipping test due to flakiness on Windows: https://golang.org/issue/49646")
32+
}
2933

3034
const pkgThatUsesVendoring = `
3135
-- go.mod --

0 commit comments

Comments
 (0)