summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-10-22 15:02:37 -0500
committerbaude <bbaude@redhat.com>2018-10-22 17:07:04 -0500
commit949d292567854ab74d4c2c6927ba96c1ae95d9c4 (patch)
treeb6a082daf47468609c68a1335fefbecf25ea6c44 /test/e2e
parent5b2478ed87eedd8178c1672a786f95a6716a8edb (diff)
downloadpodman-949d292567854ab74d4c2c6927ba96c1ae95d9c4.tar.gz
podman-949d292567854ab74d4c2c6927ba96c1ae95d9c4.tar.bz2
podman-949d292567854ab74d4c2c6927ba96c1ae95d9c4.zip
Use restoreArtifacts to save time in integration tests
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/exec_test.go1
-rw-r--r--test/e2e/run_test.go2
2 files changed, 3 insertions, 0 deletions
diff --git a/test/e2e/exec_test.go b/test/e2e/exec_test.go
index cfdc819a6..250e08704 100644
--- a/test/e2e/exec_test.go
+++ b/test/e2e/exec_test.go
@@ -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()
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go
index 1cd2fdf2c..cb436ccca 100644
--- a/test/e2e/run_test.go
+++ b/test/e2e/run_test.go
@@ -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())