From 202a7ad8e8a2984ade094716fb26fd37c0a95d70 Mon Sep 17 00:00:00 2001 From: Vic Iglesias Date: Mon, 11 Dec 2017 11:45:29 -0800 Subject: [PATCH] Add sleep after ns so resources can be cleaned properly (#2992) --- test/helm-test/main.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/helm-test/main.go b/test/helm-test/main.go index 9ee130fa72..9e59090f29 100644 --- a/test/helm-test/main.go +++ b/test/helm-test/main.go @@ -273,6 +273,14 @@ func doMain() int { }) } + xmlWrap(fmt.Sprintf("Sleeping so that resources can be cleaned up"), func() error { + o, execErr := output(exec.Command("sleep", "120")) + if execErr != nil { + return fmt.Errorf("%s Command output: %s", execErr, string(o[:])) + } + return nil + }) + if suite.Failures > 0 { return TEST_FAILURE_CODE }