diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-12-10 17:56:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-10 17:56:28 +0000 |
commit | e993b88c03e1ef822532aacdbc7e6e381143afd3 (patch) | |
tree | cf176696e6df3bda203112441f394108701db72f /test/e2e | |
parent | 47f4f149bd4bf71223a056f95d2ae110c240c66b (diff) | |
parent | bc191ca7d3899981fda172b5ddcf71ec247f9d20 (diff) | |
download | podman-e993b88c03e1ef822532aacdbc7e6e381143afd3.tar.gz podman-e993b88c03e1ef822532aacdbc7e6e381143afd3.tar.bz2 podman-e993b88c03e1ef822532aacdbc7e6e381143afd3.zip |
Merge pull request #12573 from Luap99/fix-test
fix e2e test missing network cleanup
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/network_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/e2e/network_test.go b/test/e2e/network_test.go index 92f962abc..424561943 100644 --- a/test/e2e/network_test.go +++ b/test/e2e/network_test.go @@ -355,13 +355,12 @@ var _ = Describe("Podman network", func() { }) It("podman network remove after disconnect when container initially created with the network", func() { - SkipIfRootless("disconnect works only in non rootless container") - container := "test" - network := "foo" + network := "foo" + stringid.GenerateNonCryptoID() session := podmanTest.Podman([]string{"network", "create", network}) session.WaitWithDefaultTimeout() + defer podmanTest.removeCNINetwork(network) Expect(session).Should(Exit(0)) session = podmanTest.Podman([]string{"run", "--name", container, "--network", network, "-d", ALPINE, "top"}) |