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

Commit

Permalink
skip test for cachedir on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-suhas committed Dec 8, 2017
1 parent 37d6c56 commit e88d062
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cmd/dep/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"os"
"os/exec"
"path/filepath"
"runtime"
"strings"
"testing"

Expand Down Expand Up @@ -54,6 +55,13 @@ func TestIntegration(t *testing.T) {
}

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

test.NeedsExternalNetwork(t)
Expand Down

0 comments on commit e88d062

Please sign in to comment.