Merge pull request #38554 from thaJeztah/check_for_errors
Add missing error-check in TestAPISwarmManagerRestore
This commit is contained in:
commit
0dc531243d
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