Browse code

Disable iptables in swarm test daemons

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>

Tonis Tiigi authored on 2016/06/25 04:09:53
Showing 1 changed files
... ...
@@ -208,7 +208,7 @@ func (s *DockerSwarmSuite) AddDaemon(c *check.C, joinSwarm, manager bool) *Swarm
208 208
 		port:   defaultSwarmPort + s.portIndex,
209 209
 	}
210 210
 	d.listenAddr = fmt.Sprintf("0.0.0.0:%d", d.port)
211
-	err := d.StartWithBusybox()
211
+	err := d.StartWithBusybox("--iptables=false") // avoid networking conflicts
212 212
 	c.Assert(err, check.IsNil)
213 213
 
214 214
 	if joinSwarm == true {