From 2d4c6d4da39c93cb5e9df182df874c933982c6cb Mon Sep 17 00:00:00 2001 From: mihaialexandrescu <40660914+mihaialexandrescu@users.noreply.github.com> Date: Tue, 27 Jun 2023 14:02:21 +0300 Subject: [PATCH] use --wait and --cascade=foreground in helm uninstall in e2e tests helper(#1004) --- tests/e2e/helm.go | 2 ++ tests/e2e/koperator_suite_test.go | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/e2e/helm.go b/tests/e2e/helm.go index b9814fd0f..0404b3c7e 100644 --- a/tests/e2e/helm.go +++ b/tests/e2e/helm.go @@ -235,6 +235,8 @@ func (helmDescriptor *helmDescriptor) uninstallHelmChart(kubectlOptions k8s.Kube fixedArguments := []string{ "--debug", + "--wait", + "--cascade=foreground", } purge := true diff --git a/tests/e2e/koperator_suite_test.go b/tests/e2e/koperator_suite_test.go index d41e7e3fb..7394d75f1 100644 --- a/tests/e2e/koperator_suite_test.go +++ b/tests/e2e/koperator_suite_test.go @@ -54,10 +54,10 @@ var _ = BeforeSuite(func() { }) var _ = When("Testing e2e test altogether", Ordered, func() { - //testInstall() + // testInstall() testProduceConsumeExternal("kafka-controller") // testProduceConsumeInternal() // testUninstallZookeeperCluster() // testUninstallKafkaCluster() - // testUninstall() + // testUninstall() })