Skip to content

Commit

Permalink
remove --timeout=0 flag to cleanup function of watch e2e test
Browse files Browse the repository at this point in the history
compose down command need the watch process to be killed to succeed

Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
  • Loading branch information
glours committed Sep 19, 2023
1 parent a697a06 commit 7b58f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/e2e/watch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7b58f6d

Please sign in to comment.