mirror of
https://github.com/moby/moby.git
synced 2026-07-12 02:25:19 +00:00
Add missing error-check in TestAPISwarmManagerRestore
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -503,7 +503,8 @@ func (s *DockerSwarmSuite) TestAPISwarmManagerRestore(c *check.C) {
|
||||
d3.RestartNode(c)
|
||||
d3.GetService(c, id)
|
||||
|
||||
d3.Kill()
|
||||
err := d3.Kill()
|
||||
assert.NilError(c, err)
|
||||
time.Sleep(1 * time.Second) // time to handle signal
|
||||
d3.StartNode(c)
|
||||
d3.GetService(c, id)
|
||||
|
||||
Reference in New Issue
Block a user