mirror of
https://github.com/docker/compose.git
synced 2025-07-21 12:44:54 +02:00
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
|
// important that --rmi is used to prune the images and ensure that watch builds on launch
|
||||||
cleanup := func() {
|
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()
|
cleanup()
|
||||||
t.Cleanup(cleanup)
|
t.Cleanup(cleanup)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user