Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit e88d062

Browse files
committed
skip test for cachedir on Windows
1 parent 37d6c56 commit e88d062

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cmd/dep/integration_test.go

+8
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
"os"
1212
"os/exec"
1313
"path/filepath"
14+
"runtime"
1415
"strings"
1516
"testing"
1617

@@ -54,6 +55,13 @@ func TestIntegration(t *testing.T) {
5455
}
5556

5657
func TestDepCachedir(t *testing.T) {
58+
if runtime.GOOS == "windows" {
59+
// This test is unreliable on Windows and fails at random which makes it very
60+
// difficult to debug. It might have something to do with parallel execution.
61+
// Since the test doesn't test any specific behavior of Windows, it should be okay
62+
// to skip.
63+
t.Skip("skipping on windows")
64+
}
5765
t.Parallel()
5866

5967
test.NeedsExternalNetwork(t)

0 commit comments

Comments
 (0)