Skip to content

Commit 05fa6f9

Browse files
authored
Merge pull request kubernetes#84289 from danwinship/service-sanitycheck-fix-3
Fix service sanity check after jig.ChangeServiceType
2 parents 02ee242 + dde075f commit 05fa6f9

File tree

1 file changed

+1
-1
lines changed
  • test/e2e/framework/service

1 file changed

+1
-1
lines changed

test/e2e/framework/service/jig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ func (j *TestJig) WaitForLoadBalancerDestroy(ip string, port int, timeout time.D
526526
if err != nil {
527527
return nil, err
528528
}
529-
return j.sanityCheckService(service, v1.ServiceTypeLoadBalancer)
529+
return j.sanityCheckService(service, service.Spec.Type)
530530
}
531531

532532
func (j *TestJig) waitForCondition(timeout time.Duration, message string, conditionFn func(*v1.Service) bool) (*v1.Service, error) {

0 commit comments

Comments
 (0)