Skip to content

Commit

Permalink
test: skip dns-liveness restarts check for k8s 1.14 (Azure#931)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cecile Robert-Michon authored and acs-bot committed Apr 2, 2019
1 parent 27d447c commit 9141412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/kubernetes/kubernetes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1465,7 +1465,7 @@ var _ = Describe("Azure Container Cluster using the Kubernetes Orchestrator", fu

Describe("after the cluster has been up for awhile", func() {
It("dns-liveness pod should not have any restarts", func() {
if !eng.HasNetworkPolicy("calico") {
if !eng.HasNetworkPolicy("calico") && !common.IsKubernetesVersionGe(eng.ExpandedDefinition.Properties.OrchestratorProfile.OrchestratorVersion, "1.14.0") {
pod, err := pod.Get("dns-liveness", "default")
Expect(err).NotTo(HaveOccurred())
running, err := pod.WaitOnReady(retryTimeWhenWaitingForPodReady, 3*time.Minute)
Expand Down

0 comments on commit 9141412

Please sign in to comment.