Просмотр исходного кода

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 <[email protected]>

Guillaume Lours 2 лет назад
Родитель
Сommit
61c8be11c0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pkg/e2e/watch_test.go

+ 1 - 1
pkg/e2e/watch_test.go

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