Fix the windows test error where it exits on error without retry
@@ -141,6 +141,8 @@ function test_windows_deployment() {
sleep 10; count=$((count-1))
done
+ # temporarily disable breaking on errors to allow the retry
+ set +e
log "curl external website"
count=10
success="n"
@@ -161,6 +163,7 @@ function test_windows_deployment() {
log "$ipconfig"
sleep 10; count=$((count-1))
done
+ set -e
if [[ "${success}" != "y" ]]; then
nslookup=$(kubectl exec $winpodname -- powershell nslookup www.bing.com)
log "$nslookup"
