|
@@ -21,6 +21,7 @@ import (
|
|
|
"fmt"
|
|
"fmt"
|
|
|
"io/ioutil"
|
|
"io/ioutil"
|
|
|
"os"
|
|
"os"
|
|
|
|
|
+ "runtime"
|
|
|
"sort"
|
|
"sort"
|
|
|
"strconv"
|
|
"strconv"
|
|
|
"strings"
|
|
"strings"
|
|
@@ -33,6 +34,10 @@ import (
|
|
|
// It runs a few "create" commands with different flag values and loads generated
|
|
// It runs a few "create" commands with different flag values and loads generated
|
|
|
// snapshot files to validate their content.
|
|
// snapshot files to validate their content.
|
|
|
func TestSnapshotCreate(t *testing.T) {
|
|
func TestSnapshotCreate(t *testing.T) {
|
|
|
|
|
+ if runtime.GOOS == "windows" {
|
|
|
|
|
+ t.Skip()
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
for _, v := range []struct {
|
|
for _, v := range []struct {
|
|
|
name string
|
|
name string
|
|
|
nodes int
|
|
nodes int
|