From a0a47a8a2d9e1acdbd7c69c9e9716b7654e8d61e Mon Sep 17 00:00:00 2001 From: Jack Francis Date: Mon, 23 Mar 2020 11:40:04 -0700 Subject: [PATCH] test: don't test version if customWindowsPackageURL --- test/e2e/kubernetes/kubernetes_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/e2e/kubernetes/kubernetes_test.go b/test/e2e/kubernetes/kubernetes_test.go index 45f4b5d80a..d73b1009c5 100644 --- a/test/e2e/kubernetes/kubernetes_test.go +++ b/test/e2e/kubernetes/kubernetes_test.go @@ -258,7 +258,8 @@ var _ = Describe("Azure Container Cluster using the Kubernetes Orchestrator", fu }) It("should have the expected k8s version", func() { - if eng.ExpandedDefinition.Properties.OrchestratorProfile.KubernetesConfig.CustomHyperkubeImage == "" { + if eng.ExpandedDefinition.Properties.OrchestratorProfile.KubernetesConfig.CustomHyperkubeImage == "" && + eng.ExpandedDefinition.Properties.OrchestratorProfile.KubernetesConfig.CustomWindowsPackageURL == "" { nodes, err := node.GetReadyWithRetry(1*time.Second, cfg.Timeout) Expect(err).NotTo(HaveOccurred()) for _, n := range nodes {