Merge pull request #1700 from baude/restoreArtifactsa

Use restoreArtifacts to save time in integration tests
This commit is contained in:
OpenShift Merge Robot
2018-10-23 05:42:42 -07:00
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

@ -111,6 +111,7 @@ var _ = Describe("Podman exec", func() {
})
It("podman exec with user only in container", func() {
podmanTest.RestoreArtifact(fedoraMinimal)
testUser := "test123"
setup := podmanTest.Podman([]string{"run", "--name", "test1", "-d", fedoraMinimal, "sleep", "60"})
setup.WaitWithDefaultTimeout()

View File

@ -577,6 +577,7 @@ USER mail`
})
It("podman run findmnt nothing shared", func() {
podmanTest.RestoreArtifact(fedoraMinimal)
vol1 := filepath.Join(podmanTest.TempDir, "vol-test1")
err := os.MkdirAll(vol1, 0755)
Expect(err).To(BeNil())
@ -592,6 +593,7 @@ USER mail`
})
It("podman run findmnt shared", func() {
podmanTest.RestoreArtifact(fedoraMinimal)
vol1 := filepath.Join(podmanTest.TempDir, "vol-test1")
err := os.MkdirAll(vol1, 0755)
Expect(err).To(BeNil())