summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-21 16:46:52 +0100
committerGitHub <noreply@github.com>2020-03-21 16:46:52 +0100
commit2ffff3c6abacad855ce7ddf8290514ebe1424d7f (patch)
tree4c619d1bdf0407c5a11aa4dd0f769305eeee86e7
parent89a3e5979b5f247e83a1723c7f355983fa7c7a86 (diff)
parent232b5034cfea90d9c5c443d8631013beeef39009 (diff)
downloadpodman-2ffff3c6abacad855ce7ddf8290514ebe1424d7f.tar.gz
podman-2ffff3c6abacad855ce7ddf8290514ebe1424d7f.tar.bz2
podman-2ffff3c6abacad855ce7ddf8290514ebe1424d7f.zip
Merge pull request #5576 from baude/nettestrmf
when removing networks for tests, force should be used
-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 b83757cc0..7eccaa9ab 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", name})
+ session := p.Podman([]string{"network", "rm", "-f", name})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(BeZero())
}