diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-11-27 11:56:03 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-27 11:56:03 -0800 |
commit | 6df7409cb5a41c710164c42ed35e33b28f3f7214 (patch) | |
tree | 050a529d09f144a1d77d7fd4d3a7263738bdc5d7 /test/e2e | |
parent | 3f0c0cf80f5cbb3d3049c690c697a7d46ecc9d3a (diff) | |
parent | 55508c11856c612186d685a4e217c462f3ca2416 (diff) | |
download | podman-6df7409cb5a41c710164c42ed35e33b28f3f7214.tar.gz podman-6df7409cb5a41c710164c42ed35e33b28f3f7214.tar.bz2 podman-6df7409cb5a41c710164c42ed35e33b28f3f7214.zip |
Merge pull request #1878 from giuseppe/fix-static-ip-test
test: cleanup CNI network used by the tests
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/create_staticip_test.go | 2 | ||||
-rw-r--r-- | test/e2e/run_staticip_test.go | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/e2e/create_staticip_test.go b/test/e2e/create_staticip_test.go index ed6498b43..17ac5cb40 100644 --- a/test/e2e/create_staticip_test.go +++ b/test/e2e/create_staticip_test.go @@ -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() { diff --git a/test/e2e/run_staticip_test.go b/test/e2e/run_staticip_test.go index ede7dd3de..749835b47 100644 --- a/test/e2e/run_staticip_test.go +++ b/test/e2e/run_staticip_test.go @@ -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() { |