Merge pull request #5576 from baude/nettestrmf

when removing networks for tests, force should be used
This commit is contained in:
OpenShift Merge Robot
2020-03-21 16:46:52 +01:00
committed by GitHub

View File

@ -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())
}