@@ -42,7 +42,6 @@ var _ = SIGDescribe("Multi-AZ Clusters", func() {
42
42
f := framework .NewDefaultFramework ("multi-az" )
43
43
var zoneCount int
44
44
var err error
45
- image := framework .ServeHostnameImage
46
45
ginkgo .BeforeEach (func () {
47
46
e2eskipper .SkipUnlessProviderIs ("gce" , "gke" , "aws" )
48
47
if zoneCount <= 0 {
@@ -55,11 +54,11 @@ var _ = SIGDescribe("Multi-AZ Clusters", func() {
55
54
// TODO: SkipUnlessDefaultScheduler() // Non-default schedulers might not spread
56
55
})
57
56
ginkgo .It ("should spread the pods of a service across zones" , func () {
58
- SpreadServiceOrFail (f , (2 * zoneCount )+ 1 , image )
57
+ SpreadServiceOrFail (f , (2 * zoneCount )+ 1 , imageutils . GetPauseImageName () )
59
58
})
60
59
61
60
ginkgo .It ("should spread the pods of a replication controller across zones" , func () {
62
- SpreadRCOrFail (f , int32 ((2 * zoneCount )+ 1 ), image , []string {"serve-hostname" })
61
+ SpreadRCOrFail (f , int32 ((2 * zoneCount )+ 1 ), framework . ServeHostnameImage , []string {"serve-hostname" })
63
62
})
64
63
})
65
64
@@ -96,7 +95,7 @@ func SpreadServiceOrFail(f *framework.Framework, replicaCount int, image string)
96
95
Containers : []v1.Container {
97
96
{
98
97
Name : "test" ,
99
- Image : imageutils . GetPauseImageName () ,
98
+ Image : image ,
100
99
},
101
100
},
102
101
},
0 commit comments