mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +00:00
Merge pull request #125111 from aojea/e2e_panic_lb
add logging on e2e loadbalancer test
This commit is contained in:
@@ -356,7 +356,7 @@ var _ = common.SIGDescribe("LoadBalancers", feature.LoadBalancer, func() {
|
||||
testReachableUDP(ctx, udpIngressIP, svcPort, loadBalancerLagTimeout)
|
||||
|
||||
// Change the services' main ports.
|
||||
|
||||
framework.Logf("Service Status: %v", udpService.Status)
|
||||
ginkgo.By("changing the UDP service's port")
|
||||
udpService, err = udpJig.UpdateService(ctx, func(s *v1.Service) {
|
||||
s.Spec.Ports[0].Port++
|
||||
@@ -370,6 +370,7 @@ var _ = common.SIGDescribe("LoadBalancers", feature.LoadBalancer, func() {
|
||||
if int(udpService.Spec.Ports[0].NodePort) != udpNodePort {
|
||||
framework.Failf("UDP Spec.Ports[0].NodePort (%d) changed", udpService.Spec.Ports[0].NodePort)
|
||||
}
|
||||
framework.Logf("Service Status: %v", udpService.Status)
|
||||
if e2eservice.GetIngressPoint(&udpService.Status.LoadBalancer.Ingress[0]) != udpIngressIP {
|
||||
framework.Failf("UDP Status.LoadBalancer.Ingress changed (%s -> %s) when not expected", udpIngressIP, e2eservice.GetIngressPoint(&udpService.Status.LoadBalancer.Ingress[0]))
|
||||
}
|
||||
|
Reference in New Issue
Block a user