diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-12-01 16:15:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-01 16:15:19 +0100 |
commit | 429d9492f85faf4c3a595b9d7b2a38743a4b8e42 (patch) | |
tree | 805f74cb1325110b27a225bbed67f8e6f42066f2 /test/e2e/common_test.go | |
parent | e3f0b7db7508f1e1ecfdb23adb53531c89a29b99 (diff) | |
parent | 7d43cc06dc24173e4f983d005d91e222d1e96c72 (diff) | |
download | podman-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.go | 6 |
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)) +} |