Drop GCE-only tests and subtests from LoadBalancer tests

This commit is contained in:
Dan Winship
2024-04-20 09:10:14 -04:00
parent 35a8c0fb3f
commit b421bde1de
3 changed files with 0 additions and 291 deletions

View File

@@ -4152,12 +4152,6 @@ func checkReachabilityFromPod(expectToBeReachable bool, timeout time.Duration, n
framework.ExpectNoError(err)
}
// enableAndDisableInternalLB returns two functions for enabling and disabling the internal load balancer
// setting for the supported cloud providers (currently GCE/GKE and Azure) and empty functions for others.
func enableAndDisableInternalLB() (enable func(svc *v1.Service), disable func(svc *v1.Service)) {
return framework.TestContext.CloudConfig.Provider.EnableAndDisableInternalLB()
}
func validatePorts(ep, expectedEndpoints portsByPodUID) error {
if len(ep) != len(expectedEndpoints) {
// should not happen because we check this condition before