Add missing error-check in TestAPISwarmManagerRestore

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 2e326eba7040042e7b4e9974ebd46aaa6b03dc4f)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 092315055ae1cd24732b913fad53767328b20678
Component: engine
This commit is contained in:
Sebastiaan van Stijn
2019-01-13 21:11:50 +01:00
parent 0e40cd84ba
commit 4e454ab962

View File

@ -507,7 +507,8 @@ func (s *DockerSwarmSuite) TestAPISwarmManagerRestore(c *check.C) {
d3.Start(c)
d3.GetService(c, id)
d3.Kill()
err := d3.Kill()
assert.NilError(c, err)
time.Sleep(1 * time.Second) // time to handle signal
d3.Start(c)
d3.GetService(c, id)