Add missing error-check in TestAPISwarmManagerRestore

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-01-13 21:11:50 +01:00
parent ad2765b35e
commit 2e326eba70
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

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