diff options
-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"}) |