mirror of
https://github.com/containers/podman.git
synced 2025-05-21 00:56:36 +08:00
Merge pull request #5576 from baude/nettestrmf
when removing networks for tests, force should be used
This commit is contained in:
@ -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())
|
||||
}
|
||||
|
Reference in New Issue
Block a user