mirror of
https://github.com/containers/podman.git
synced 2025-05-31 07:27:13 +08:00
use imagecaches for local tests
when doing localized tests (not varlink), we can use secondary image stores as read-only image caches. this cuts down on test time significantly because each test does not need to restore the images from a tarball anymore. Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
@ -24,7 +24,7 @@ var _ = Describe("Podman exec", func() {
|
||||
}
|
||||
podmanTest = PodmanTestCreate(tempdir)
|
||||
podmanTest.Setup()
|
||||
podmanTest.RestoreAllArtifacts()
|
||||
podmanTest.SeedImages()
|
||||
})
|
||||
|
||||
AfterEach(func() {
|
||||
@ -123,7 +123,6 @@ 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()
|
||||
|
Reference in New Issue
Block a user