mirror of https://github.com/containers/podman.git
test: cleanup CNI network used by the tests
issue introduced with: https://github.com/containers/libpod/pull/1871 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
3f0c0cf80f
commit
55508c1185
|
@ -23,6 +23,8 @@ var _ = Describe("Podman create with --ip flag", func() {
|
|||
}
|
||||
podmanTest = PodmanTestCreate(tempdir)
|
||||
podmanTest.RestoreAllArtifacts()
|
||||
// Cleanup the CNI networks used by the tests
|
||||
os.RemoveAll("/var/lib/cni/networks/podman")
|
||||
})
|
||||
|
||||
AfterEach(func() {
|
||||
|
|
|
@ -23,6 +23,8 @@ var _ = Describe("Podman run with --ip flag", func() {
|
|||
}
|
||||
podmanTest = PodmanTestCreate(tempdir)
|
||||
podmanTest.RestoreAllArtifacts()
|
||||
// Cleanup the CNI networks used by the tests
|
||||
os.RemoveAll("/var/lib/cni/networks/podman")
|
||||
})
|
||||
|
||||
AfterEach(func() {
|
||||
|
|
Loading…
Reference in New Issue