mirror of
https://github.com/containers/podman.git
synced 2025-08-02 17:22:30 +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:
@ -23,7 +23,7 @@ var _ = Describe("PodmanTest test", func() {
|
||||
FakeOutputs["check"] = []string{"check"}
|
||||
os.Setenv("HOOK_OPTION", "hook_option")
|
||||
env := os.Environ()
|
||||
session := podmanTest.PodmanAsUserBase([]string{"check"}, 1000, 1000, "", env)
|
||||
session := podmanTest.PodmanAsUserBase([]string{"check"}, 1000, 1000, "", env, true)
|
||||
os.Unsetenv("HOOK_OPTION")
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session.Command.Process).ShouldNot(BeNil())
|
||||
|
Reference in New Issue
Block a user