1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Multi-arch: fix TestBuildOnDisabledBridgeNetworkDaemon

Fixes the test by loading in the architecture specific busybox
image when the test daemon starts.

Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
This commit is contained in:
Christopher Jones 2016-05-24 16:28:06 -04:00
parent 86a7632d63
commit 7832e2ae82

View file

@ -2322,7 +2322,7 @@ func (s *DockerDaemonSuite) TestDaemonMaxConcurrencyWithConfigFileReload(c *chec
} }
func (s *DockerDaemonSuite) TestBuildOnDisabledBridgeNetworkDaemon(c *check.C) { func (s *DockerDaemonSuite) TestBuildOnDisabledBridgeNetworkDaemon(c *check.C) {
err := s.d.Start("-b=none", "--iptables=false") err := s.d.StartWithBusybox("-b=none", "--iptables=false")
c.Assert(err, check.IsNil) c.Assert(err, check.IsNil)
s.d.c.Logf("dockerBinary %s", dockerBinary) s.d.c.Logf("dockerBinary %s", dockerBinary)
out, code, err := s.d.buildImageWithOut("busyboxs", out, code, err := s.d.buildImageWithOut("busyboxs",