mirror of
https://github.com/moby/moby.git
synced 2025-08-01 05:47:11 +03:00
[integration-cli] fix p/z HubPullSuite tests
This test tries to pull all the tags in the busybox repo and looks to see if there were more than two images pulled. This was failing on p/z due to the recent change to manifest lists, where one of the busybox tags didn't have a p/z manifest in it's manifest list. This error seems fine to me, so I changed the test to see if pull fails, it fails with the "manifest not found" error. Also switched from busybox -> alpine, because it has significantly less tags, and the images are close in size. Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
This commit is contained in:
@ -1825,7 +1825,7 @@ func (s *DockerDaemonSuite) TestDaemonNoSpaceLeftOnDeviceError(c *check.C) {
|
||||
defer s.d.Stop(c)
|
||||
|
||||
// pull a repository large enough to fill the mount point
|
||||
pullOut, err := s.d.Cmd("pull", "registry:2")
|
||||
pullOut, err := s.d.Cmd("pull", "debian:stretch")
|
||||
c.Assert(err, checker.NotNil, check.Commentf(pullOut))
|
||||
c.Assert(pullOut, checker.Contains, "no space left on device")
|
||||
}
|
||||
|
Reference in New Issue
Block a user