summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-10-23 05:42:42 -0700
committerGitHub <noreply@github.com>2018-10-23 05:42:42 -0700
commit3a45fd1115ae752e3737afef64491311dc229c3d (patch)
treedc35ff5063cde2ce1acce67fb9f5b8cc8d0272f9
parenta65fdf581b956ee78a2a19a995c9ea974216031a (diff)
parent949d292567854ab74d4c2c6927ba96c1ae95d9c4 (diff)
downloadpodman-3a45fd1115ae752e3737afef64491311dc229c3d.tar.gz
podman-3a45fd1115ae752e3737afef64491311dc229c3d.tar.bz2
podman-3a45fd1115ae752e3737afef64491311dc229c3d.zip
Merge pull request #1700 from baude/restoreArtifactsa
Use restoreArtifacts to save time in integration tests
-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())