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 8fc23588f1)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-09-09 22:32:10 +02:00
parent eba485a3c6
commit 55aadb3a8f
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

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