From 21d54bcaac6c43b92e9bf86610d0952de454f2df Mon Sep 17 00:00:00 2001 From: Elad Date: Fri, 18 Jan 2019 19:22:05 +0700 Subject: [PATCH] cmd/swarm/swarm-snapshot: disable tests on windows (#18478) (cherry picked from commit 632135ce4c1d8d3d9a36771aab4137260018e84b) --- cmd/swarm/swarm-snapshot/create_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/swarm/swarm-snapshot/create_test.go b/cmd/swarm/swarm-snapshot/create_test.go index dbd5b12cd2..c9445168d8 100644 --- a/cmd/swarm/swarm-snapshot/create_test.go +++ b/cmd/swarm/swarm-snapshot/create_test.go @@ -21,6 +21,7 @@ import ( "fmt" "io/ioutil" "os" + "runtime" "sort" "strconv" "strings" @@ -33,6 +34,10 @@ import ( // It runs a few "create" commands with different flag values and loads generated // snapshot files to validate their content. func TestSnapshotCreate(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip() + } + for _, v := range []struct { name string nodes int