Skip to content

Commit

Permalink
fix e2e tests (#2636)
Browse files Browse the repository at this point in the history
  • Loading branch information
zetaab authored Sep 2, 2024
1 parent 75b1fbb commit 4294921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/cloudprovider/test-lb-service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function wait_for_service_address {

end=$(($(date +%s) + ${TIMEOUT}))
while true; do
ipaddr=$(kubectl -n $NAMESPACE describe service ${service_name} | grep 'LoadBalancer Ingress' | awk -F":" '{print $2}' | tr -d ' ')
ipaddr=$(kubectl -n $NAMESPACE describe service ${service_name} | grep 'LoadBalancer Ingress' | awk '{print $3}')
if [ "x${ipaddr}" != "x" ]; then
printf "\n>>>>>>> Service ${service_name} is created successfully, IP: ${ipaddr}\n"
export ipaddr=${ipaddr}
Expand Down

0 comments on commit 4294921

Please sign in to comment.