diff --git a/test/e2e/ubernetes_lite.go b/test/e2e/ubernetes_lite.go index b4d88940190..92ba490f74d 100644 --- a/test/e2e/ubernetes_lite.go +++ b/test/e2e/ubernetes_lite.go @@ -45,7 +45,8 @@ var _ = framework.KubeDescribe("Multi-AZ Clusters", func() { Expect(err).NotTo(HaveOccurred()) } By(fmt.Sprintf("Checking for multi-zone cluster. Zone count = %d", zoneCount)) - framework.SkipUnlessAtLeast(zoneCount, 2, "Zone count is %d, only run for multi-zone clusters, skipping test") + msg := fmt.Sprintf("Zone count is %d, only run for multi-zone clusters, skipping test", zoneCount) + framework.SkipUnlessAtLeast(zoneCount, 2, msg) // TODO: SkipUnlessDefaultScheduler() // Non-default schedulers might not spread }) It("should spread the pods of a service across zones", func() {