From 1ab3017d6c8911753d5c8e4af11ebc9f1cbf8d99 Mon Sep 17 00:00:00 2001 From: Fabio Barone Date: Mon, 25 Feb 2019 12:53:55 -0500 Subject: [PATCH] cmd/swarm/swarm-snapshot: reducing default to 8 nodes, more to 4 --- cmd/swarm/swarm-snapshot/create_test.go | 2 +- cmd/swarm/swarm-snapshot/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/swarm/swarm-snapshot/create_test.go b/cmd/swarm/swarm-snapshot/create_test.go index 14b1e4d67e..b2e30c2016 100644 --- a/cmd/swarm/swarm-snapshot/create_test.go +++ b/cmd/swarm/swarm-snapshot/create_test.go @@ -48,7 +48,7 @@ func TestSnapshotCreate(t *testing.T) { }, { name: "more nodes", - nodes: defaultNodes + 5, + nodes: defaultNodes + 4, }, { name: "services", diff --git a/cmd/swarm/swarm-snapshot/main.go b/cmd/swarm/swarm-snapshot/main.go index 184727e4d7..136295e511 100644 --- a/cmd/swarm/swarm-snapshot/main.go +++ b/cmd/swarm/swarm-snapshot/main.go @@ -27,7 +27,7 @@ import ( var gitCommit string // Git SHA1 commit hash of the release (set via linker flags) // default value for "create" command --nodes flag -const defaultNodes = 10 +const defaultNodes = 8 func main() { err := newApp().Run(os.Args)