mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add sleep after ns so resources can be cleaned properly (#2992)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user