mirror of https://github.com/docker/compose.git
remove --timeout=0 flag to cleanup function of watch e2e test
compose down command need the watch process to be killed to succeed Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
parent
421a6b0506
commit
61c8be11c0
|
@ -84,7 +84,7 @@ func doTest(t *testing.T, svcName string, tarSync bool) {
|
|||
|
||||
// important that --rmi is used to prune the images and ensure that watch builds on launch
|
||||
cleanup := func() {
|
||||
cli.RunDockerComposeCmd(t, "down", svcName, "--timeout=0", "--remove-orphans", "--volumes", "--rmi=local")
|
||||
cli.RunDockerComposeCmd(t, "down", svcName, "--remove-orphans", "--volumes", "--rmi=local")
|
||||
}
|
||||
cleanup()
|
||||
t.Cleanup(cleanup)
|
||||
|
|
Loading…
Reference in New Issue