mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #23944 from tonistiigi/disable-iptables
Disable iptables in swarm test daemons
This commit is contained in:
commit
d4bff5e3aa
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ func (s *DockerSwarmSuite) AddDaemon(c *check.C, joinSwarm, manager bool) *Swarm
|
||||||
port: defaultSwarmPort + s.portIndex,
|
port: defaultSwarmPort + s.portIndex,
|
||||||
}
|
}
|
||||||
d.listenAddr = fmt.Sprintf("0.0.0.0:%d", d.port)
|
d.listenAddr = fmt.Sprintf("0.0.0.0:%d", d.port)
|
||||||
err := d.StartWithBusybox()
|
err := d.StartWithBusybox("--iptables=false") // avoid networking conflicts
|
||||||
c.Assert(err, check.IsNil)
|
c.Assert(err, check.IsNil)
|
||||||
|
|
||||||
if joinSwarm == true {
|
if joinSwarm == true {
|
||||||
|
|
Loading…
Reference in a new issue