ImageLayers test should loop until image is missing
In the event we do fill the cache
@@ -66,8 +66,7 @@ var _ = g.Describe("[Feature:ImageLayers] Image layer subresource", func() {
if !ok {
return false, nil
}
- o.Expect(ref.ImageMissing).To(o.BeTrue())
- return true, nil
+ return ref.ImageMissing, nil
})
o.Expect(err).NotTo(o.HaveOccurred())
})
