|
|
|
@@ -41,7 +41,7 @@ var _ = Describe("Image Container Conformance Test", func() {
|
|
|
|
|
cl = client.NewOrDie(&restclient.Config{Host: *apiServerAddress})
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
Describe("image conformance blackbox test", func() {
|
|
|
|
|
Describe("[FLAKY] image conformance blackbox test", func() {
|
|
|
|
|
Context("when testing images that exist", func() {
|
|
|
|
|
var conformImages []ConformanceImage
|
|
|
|
|
BeforeEach(func() {
|
|
|
|
@@ -59,7 +59,7 @@ var _ = Describe("Image Container Conformance Test", func() {
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
It("It should present successfully [Conformance]", func() {
|
|
|
|
|
It("It should present successfully", func() {
|
|
|
|
|
for _, conformImage := range conformImages {
|
|
|
|
|
present, err := conformImage.Present()
|
|
|
|
|
Expect(err).ShouldNot(HaveOccurred())
|
|
|
|
@@ -67,7 +67,7 @@ var _ = Describe("Image Container Conformance Test", func() {
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
It("should list pulled images [Conformance]", func() {
|
|
|
|
|
It("should list pulled images", func() {
|
|
|
|
|
image, _ := NewConformanceImage("docker", "")
|
|
|
|
|
tags, err := image.List()
|
|
|
|
|
Expect(err).ShouldNot(HaveOccurred())
|
|
|
|
@@ -101,7 +101,7 @@ var _ = Describe("Image Container Conformance Test", func() {
|
|
|
|
|
conformImages = append(conformImages, conformImage)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
By("not presenting images [Conformance]", func() {
|
|
|
|
|
By("not presenting images", func() {
|
|
|
|
|
for _, conformImage := range conformImages {
|
|
|
|
|
present, err := conformImage.Present()
|
|
|
|
|
Expect(err).ShouldNot(HaveOccurred())
|
|
|
|
@@ -109,7 +109,7 @@ var _ = Describe("Image Container Conformance Test", func() {
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
By("not listing pulled images [Conformance]", func() {
|
|
|
|
|
By("not listing pulled images", func() {
|
|
|
|
|
image, _ := NewConformanceImage("docker", "")
|
|
|
|
|
tags, err := image.List()
|
|
|
|
|
Expect(err).ShouldNot(HaveOccurred())
|
|
|
|
@@ -118,7 +118,7 @@ var _ = Describe("Image Container Conformance Test", func() {
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
By("not removing non-exist images [Conformance]", func() {
|
|
|
|
|
By("not removing non-exist images", func() {
|
|
|
|
|
for _, conformImage := range conformImages {
|
|
|
|
|
err := conformImage.Remove()
|
|
|
|
|
Expect(err).Should(HaveOccurred())
|
|
|
|
|