c.Fatal won't fail and exit test inside a goroutine, errors should be handled outside with a channel
Signed-off-by: Antonio Murdaca <me@runcom.ninja> Upstream-commit: 4203230cbbf46238e38099c9073bdcad5f69a63f Component: engine
This commit is contained in:
@ -255,7 +255,6 @@ func assertContainerList(out string, expected []string) bool {
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestPsListContainersSize(c *check.C) {
|
||||
|
||||
cmd := exec.Command(dockerBinary, "run", "-d", "busybox", "echo", "hello")
|
||||
runCommandWithOutput(cmd)
|
||||
cmd = exec.Command(dockerBinary, "ps", "-s", "-n=1")
|
||||
|
||||
Reference in New Issue
Block a user