Browse Source

integration-cli: swarm.RestartNode(); don't load busybox again

The daemon was already created and started with the busybox
image loaded, so there's no need to load the image again.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 8fc23588f1aa14054f1134e60dd996220c595363)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 5 năm trước cách đây
mục cha
commit
55aadb3a8f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      internal/test/daemon/swarm.go

+ 1 - 1
internal/test/daemon/swarm.go

@@ -36,7 +36,7 @@ func (d *Daemon) RestartNode(t testingT) {
 	}
 	// avoid networking conflicts
 	d.Stop(t)
-	d.StartWithBusybox(t, startArgs...)
+	d.Start(t, startArgs...)
 }
 
 // StartAndSwarmInit starts the daemon (with busybox) and init the swarm