mirror of
https://github.com/containers/podman.git
synced 2025-06-24 11:28:24 +08:00
test/e2e: unset CONTAINERS_CONF before Cleanup()
If we do not unset CONTAINERS_CONF before tests that create a invlid config will cause the Cleanup to fail. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -37,11 +37,11 @@ var _ = Describe("Verify podman containers.conf usage", func() {
|
||||
})
|
||||
|
||||
AfterEach(func() {
|
||||
os.Unsetenv("CONTAINERS_CONF")
|
||||
os.Unsetenv("CONTAINERS_CONF_OVERRIDE")
|
||||
podmanTest.Cleanup()
|
||||
f := CurrentSpecReport()
|
||||
processTestResult(f)
|
||||
os.Unsetenv("CONTAINERS_CONF")
|
||||
os.Unsetenv("CONTAINERS_CONF_OVERRIDE")
|
||||
})
|
||||
|
||||
It("limits test", func() {
|
||||
|
Reference in New Issue
Block a user