From 2c829cf29b6d4065303b4e9529964625fc23d912 Mon Sep 17 00:00:00 2001 From: Qi Ni Date: Mon, 29 Jan 2024 14:15:25 +0800 Subject: [PATCH] chore: Refactor network load balancer creation in e2e tests Refactor the code related to creating an internal type load balancer in the e2e tests for network load balancers. The modification removes the check for the "azure" provider and updates it to only check for "gke" and "gce" providers. This change ensures that the test only runs when the cluster is using "gke" or "gce" as the provider. The counterpart test is in the out-of-tree cloud provider azure. --- test/e2e/network/loadbalancer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/network/loadbalancer.go b/test/e2e/network/loadbalancer.go index 4348ddd566c..379c4858852 100644 --- a/test/e2e/network/loadbalancer.go +++ b/test/e2e/network/loadbalancer.go @@ -612,7 +612,7 @@ var _ = common.SIGDescribe("LoadBalancers", func() { }) f.It("should be able to create an internal type load balancer", f.WithSlow(), func(ctx context.Context) { - e2eskipper.SkipUnlessProviderIs("azure", "gke", "gce") + e2eskipper.SkipUnlessProviderIs("gke", "gce") createTimeout := e2eservice.GetServiceLoadBalancerCreationTimeout(ctx, cs) pollInterval := framework.Poll * 10