summaryrefslogtreecommitdiff
path: root/test/e2e/network_create_test.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2020-11-30 11:52:10 -0600
committerbaude <bbaude@redhat.com>2020-11-30 16:10:01 -0600
commit7d43cc06dc24173e4f983d005d91e222d1e96c72 (patch)
tree3a04e9f99806d63507d06dfd8c445de268b5a217 /test/e2e/network_create_test.go
parentfc85ec942ee3273f5ad56381a0f6b9e78aea59bf (diff)
downloadpodman-7d43cc06dc24173e4f983d005d91e222d1e96c72.tar.gz
podman-7d43cc06dc24173e4f983d005d91e222d1e96c72.tar.bz2
podman-7d43cc06dc24173e4f983d005d91e222d1e96c72.zip
network connect disconnect on non-running containers
a container can connect and disconnet to networks even when not in a running state. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'test/e2e/network_create_test.go')
-rw-r--r--test/e2e/network_create_test.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/e2e/network_create_test.go b/test/e2e/network_create_test.go
index cb997d10a..043046c33 100644
--- a/test/e2e/network_create_test.go
+++ b/test/e2e/network_create_test.go
@@ -55,12 +55,6 @@ func genericPluginsToPortMap(plugins interface{}, pluginType string) (network.Po
return portMap, err
}
-func (p *PodmanTestIntegration) removeCNINetwork(name string) {
- session := p.Podman([]string{"network", "rm", "-f", name})
- session.WaitWithDefaultTimeout()
- Expect(session.ExitCode()).To(BeNumerically("<=", 1))
-}
-
func removeNetworkDevice(name string) {
session := SystemExec("ip", []string{"link", "delete", name})
session.WaitWithDefaultTimeout()