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:
Guillaume Lours 2023-09-19 22:04:23 +02:00
parent 421a6b0506
commit 61c8be11c0
1 changed files with 1 additions and 1 deletions

View File

@ -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)