Add missing error-check in TestAPISwarmManagerRestore
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
ad2765b35e
commit
2e326eba70
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue