Use restoreArtifacts to save time in integration tests
Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
parent
5b2478ed87
commit
949d292567
|
|
@ -111,6 +111,7 @@ var _ = Describe("Podman exec", func() {
|
||||||
})
|
})
|
||||||
|
|
||||||
It("podman exec with user only in container", func() {
|
It("podman exec with user only in container", func() {
|
||||||
|
podmanTest.RestoreArtifact(fedoraMinimal)
|
||||||
testUser := "test123"
|
testUser := "test123"
|
||||||
setup := podmanTest.Podman([]string{"run", "--name", "test1", "-d", fedoraMinimal, "sleep", "60"})
|
setup := podmanTest.Podman([]string{"run", "--name", "test1", "-d", fedoraMinimal, "sleep", "60"})
|
||||||
setup.WaitWithDefaultTimeout()
|
setup.WaitWithDefaultTimeout()
|
||||||
|
|
|
||||||
|
|
@ -577,6 +577,7 @@ USER mail`
|
||||||
})
|
})
|
||||||
|
|
||||||
It("podman run findmnt nothing shared", func() {
|
It("podman run findmnt nothing shared", func() {
|
||||||
|
podmanTest.RestoreArtifact(fedoraMinimal)
|
||||||
vol1 := filepath.Join(podmanTest.TempDir, "vol-test1")
|
vol1 := filepath.Join(podmanTest.TempDir, "vol-test1")
|
||||||
err := os.MkdirAll(vol1, 0755)
|
err := os.MkdirAll(vol1, 0755)
|
||||||
Expect(err).To(BeNil())
|
Expect(err).To(BeNil())
|
||||||
|
|
@ -592,6 +593,7 @@ USER mail`
|
||||||
})
|
})
|
||||||
|
|
||||||
It("podman run findmnt shared", func() {
|
It("podman run findmnt shared", func() {
|
||||||
|
podmanTest.RestoreArtifact(fedoraMinimal)
|
||||||
vol1 := filepath.Join(podmanTest.TempDir, "vol-test1")
|
vol1 := filepath.Join(podmanTest.TempDir, "vol-test1")
|
||||||
err := os.MkdirAll(vol1, 0755)
|
err := os.MkdirAll(vol1, 0755)
|
||||||
Expect(err).To(BeNil())
|
Expect(err).To(BeNil())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue