diff options
author | Elad <theman@elad.im> | 2019-01-18 20:22:05 +0800 |
---|---|---|
committer | Rafael Matias <rafael@skyle.net> | 2019-02-19 19:56:30 +0800 |
commit | 21d54bcaac6c43b92e9bf86610d0952de454f2df (patch) | |
tree | bbe579a8efabf4c35650de8538695a68d9d6ec46 /cmd/swarm | |
parent | 7383db4dace3679226215f1eb2b36c78ffb2b264 (diff) | |
download | dexon-21d54bcaac6c43b92e9bf86610d0952de454f2df.tar dexon-21d54bcaac6c43b92e9bf86610d0952de454f2df.tar.gz dexon-21d54bcaac6c43b92e9bf86610d0952de454f2df.tar.bz2 dexon-21d54bcaac6c43b92e9bf86610d0952de454f2df.tar.lz dexon-21d54bcaac6c43b92e9bf86610d0952de454f2df.tar.xz dexon-21d54bcaac6c43b92e9bf86610d0952de454f2df.tar.zst dexon-21d54bcaac6c43b92e9bf86610d0952de454f2df.zip |
cmd/swarm/swarm-snapshot: disable tests on windows (#18478)
(cherry picked from commit 632135ce4c1d8d3d9a36771aab4137260018e84b)
Diffstat (limited to 'cmd/swarm')
-rw-r--r-- | cmd/swarm/swarm-snapshot/create_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/swarm/swarm-snapshot/create_test.go b/cmd/swarm/swarm-snapshot/create_test.go index dbd5b12cd..c9445168d 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 |