Skip to content

Commit

Permalink
Merge pull request #4076 from nilo19/chore/skip-exclude-e2e
Browse files Browse the repository at this point in the history
chore: skip exclude node label e2e test on aks as it is only supporte…
  • Loading branch information
k8s-ci-robot committed Jun 12, 2023
2 parents e080c10 + 2e04800 commit 94c383d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/e2e/network/ensureloadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,10 @@ var _ = Describe("Ensure LoadBalancer", Label(utils.TestSuiteLabelLB), func() {
})

It("should support node label `node.kubernetes.io/exclude-from-external-load-balancers`", func() {
if os.Getenv(utils.AKSTestCCM) == "" {
Skip("Skip this test case for non-AKS test")
}

label := "node.kubernetes.io/exclude-from-external-load-balancers"
By("Checking the number of the node pools")
nodes, err := utils.GetAgentNodes(cs)
Expand Down

0 comments on commit 94c383d

Please sign in to comment.