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 <[email protected]>
  • Loading branch information
glours committed Sep 20, 2023
1 parent 421a6b0 commit 61c8be1
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 61c8be1

Please sign in to comment.