cmd/swarm/swarm-snapshot: disable tests on windows (#18478)

(cherry picked from commit 632135ce4c)
This commit is contained in:
Elad 2019-01-18 19:22:05 +07:00 committed by Rafael Matias
parent 7383db4dac
commit 21d54bcaac
No known key found for this signature in database
GPG Key ID: 1BC39532FB4A2DBD
1 changed files with 5 additions and 0 deletions

View File

@ -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