summaryrefslogtreecommitdiff
path: root/test/e2e/common_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-01 16:15:19 +0100
committerGitHub <noreply@github.com>2020-12-01 16:15:19 +0100
commit429d9492f85faf4c3a595b9d7b2a38743a4b8e42 (patch)
tree805f74cb1325110b27a225bbed67f8e6f42066f2 /test/e2e/common_test.go
parente3f0b7db7508f1e1ecfdb23adb53531c89a29b99 (diff)
parent7d43cc06dc24173e4f983d005d91e222d1e96c72 (diff)
downloadpodman-429d9492f85faf4c3a595b9d7b2a38743a4b8e42.tar.gz
podman-429d9492f85faf4c3a595b9d7b2a38743a4b8e42.tar.bz2
podman-429d9492f85faf4c3a595b9d7b2a38743a4b8e42.zip
Merge pull request #8515 from baude/netconnectstate
network connect disconnect on non-running containers
Diffstat (limited to 'test/e2e/common_test.go')
-rw-r--r--test/e2e/common_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go
index f107fe76b..16d8bb770 100644
--- a/test/e2e/common_test.go
+++ b/test/e2e/common_test.go
@@ -788,3 +788,9 @@ func generateNetworkConfig(p *PodmanTestIntegration) (string, string) {
return name, path
}
+
+func (p *PodmanTestIntegration) removeCNINetwork(name string) {
+ session := p.Podman([]string{"network", "rm", "-f", name})
+ session.WaitWithDefaultTimeout()
+ Expect(session.ExitCode()).To(BeNumerically("<=", 1))
+}