aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElad <theman@elad.im>2019-01-18 20:22:05 +0800
committerRafael Matias <rafael@skyle.net>2019-02-19 19:56:30 +0800
commit21d54bcaac6c43b92e9bf86610d0952de454f2df (patch)
treebbe579a8efabf4c35650de8538695a68d9d6ec46
parent7383db4dace3679226215f1eb2b36c78ffb2b264 (diff)
downloadgo-tangerine-21d54bcaac6c43b92e9bf86610d0952de454f2df.tar
go-tangerine-21d54bcaac6c43b92e9bf86610d0952de454f2df.tar.gz
go-tangerine-21d54bcaac6c43b92e9bf86610d0952de454f2df.tar.bz2
go-tangerine-21d54bcaac6c43b92e9bf86610d0952de454f2df.tar.lz
go-tangerine-21d54bcaac6c43b92e9bf86610d0952de454f2df.tar.xz
go-tangerine-21d54bcaac6c43b92e9bf86610d0952de454f2df.tar.zst
go-tangerine-21d54bcaac6c43b92e9bf86610d0952de454f2df.zip
cmd/swarm/swarm-snapshot: disable tests on windows (#18478)
(cherry picked from commit 632135ce4c1d8d3d9a36771aab4137260018e84b)
-rw-r--r--cmd/swarm/swarm-snapshot/create_test.go5
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