ginkgo status improvements

a series of improvements to our ginkgo test framework so we can
get better ideas of whats going on when run in CI

Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
baude
2019-03-06 10:29:11 -06:00
parent be6ad02049
commit d5546008ab
82 changed files with 359 additions and 233 deletions

View File

@ -3,7 +3,6 @@
package integration
import (
"fmt"
"os"
. "github.com/containers/libpod/test/utils"
@ -24,13 +23,14 @@ var _ = Describe("Podman Info", func() {
os.Exit(1)
}
podmanTest = PodmanTestCreate(tempdir)
podmanTest.Setup()
})
AfterEach(func() {
podmanTest.Cleanup()
f := CurrentGinkgoTestDescription()
timedResult := fmt.Sprintf("Test: %s completed in %f seconds", f.TestText, f.Duration.Seconds())
GinkgoWriter.Write([]byte(timedResult))
processTestResult(f)
})
It("podman info json output", func() {