Skip to content

Commit 4294921

Browse files
authored
fix e2e tests (#2636)
1 parent 75b1fbb commit 4294921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e/cloudprovider/test-lb-service.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function wait_for_service_address {
101101

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

0 commit comments

Comments
 (0)