mirror of https://github.com/docker/docs.git
Fix net=none w/ TestDaemonNoSpaceleftOnDeviceError
Broken by bcb9adf49e
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
parent
eae59c4226
commit
8e0e9e0f24
|
|
@ -1888,7 +1888,7 @@ func (s *DockerDaemonSuite) TestBridgeIPIsExcludedFromAllocatorPool(c *check.C)
|
|||
|
||||
// Test daemon for no space left on device error
|
||||
func (s *DockerDaemonSuite) TestDaemonNoSpaceleftOnDeviceError(c *check.C) {
|
||||
testRequires(c, SameHostDaemon, DaemonIsLinux)
|
||||
testRequires(c, SameHostDaemon, DaemonIsLinux, Network)
|
||||
|
||||
// create a 2MiB image and mount it as graph root
|
||||
cmd := exec.Command("dd", "of=/tmp/testfs.img", "bs=1M", "seek=2", "count=0")
|
||||
|
|
@ -1912,8 +1912,7 @@ func (s *DockerDaemonSuite) TestDaemonNoSpaceleftOnDeviceError(c *check.C) {
|
|||
|
||||
// pull a repository large enough to fill the mount point
|
||||
out, err := s.d.Cmd("pull", "registry:2")
|
||||
|
||||
c.Assert(strings.Contains(out, "no space left on device"), check.Equals, true)
|
||||
c.Assert(out, checker.Contains, "no space left on device")
|
||||
}
|
||||
|
||||
// Test daemon restart with container links + auto restart
|
||||
|
|
|
|||
Loading…
Reference in New Issue