mirror of
https://github.com/containers/podman.git
synced 2025-06-24 03:08:13 +08:00
Merge pull request #1700 from baude/restoreArtifactsa
Use restoreArtifacts to save time in integration tests
This commit is contained in:
@ -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()
|
||||
|
@ -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())
|
||||
|
Reference in New Issue
Block a user