Merge pull request #1309 from ulyssessouza/cascade-cleanup

Add cascade test cleanup with `down`
This commit is contained in:
Nicolas De loof 2021-02-16 09:52:42 +01:00 committed by GitHub
commit c4ae857467
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,4 +45,8 @@ func TestCascadeStop(t *testing.T) {
res := c.RunDockerOrExitError("compose", "-f", "./fixtures/cascade-stop-test/compose.yaml", "--project-name", projectName, "up", "--exit-code-from=unknown")
res.Assert(t, icmd.Expected{ExitCode: 1, Err: `no such service: unknown`})
})
t.Run("down", func(t *testing.T) {
_ = c.RunDockerCmd("compose", "--project-name", projectName, "down")
})
}