Add sleep after ns so resources can be cleaned properly (#2992)

This commit is contained in:
Vic Iglesias
2017-12-11 11:45:29 -08:00
committed by GitHub
parent 415ff7b36f
commit 202a7ad8e8
+8
View File
@@ -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
}