summaryrefslogtreecommitdiff
path: root/test/e2e/network_create_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-09-30 16:07:26 +0000
committerGitHub <noreply@github.com>2020-09-30 16:07:26 +0000
commite2050d7c351d14cab2ccaa09f8a6409688496727 (patch)
tree2e7958cf29358c456e81b5e1c62c434ff969f0bd /test/e2e/network_create_test.go
parentfb43e8c6a44e12bca3bbd0480b3fd75134704012 (diff)
parent5766f5b587ffc1b78b7a22c7434326bd149c3dd8 (diff)
downloadpodman-e2050d7c351d14cab2ccaa09f8a6409688496727.tar.gz
podman-e2050d7c351d14cab2ccaa09f8a6409688496727.tar.bz2
podman-e2050d7c351d14cab2ccaa09f8a6409688496727.zip
Merge pull request #7847 from rhatdan/network
Make the e2e test network cleanup more robust.
Diffstat (limited to 'test/e2e/network_create_test.go')
-rw-r--r--test/e2e/network_create_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/network_create_test.go b/test/e2e/network_create_test.go
index a81ca19eb..edd76739f 100644
--- a/test/e2e/network_create_test.go
+++ b/test/e2e/network_create_test.go
@@ -58,7 +58,7 @@ func genericPluginsToPortMap(plugins interface{}, pluginType string) (network.Po
func (p *PodmanTestIntegration) removeCNINetwork(name string) {
session := p.Podman([]string{"network", "rm", "-f", name})
session.WaitWithDefaultTimeout()
- Expect(session.ExitCode()).To(BeZero())
+ Expect(session.ExitCode()).To(BeNumerically("<=", 1))
}
func removeNetworkDevice(name string) {