Skip to content

Commit

Permalink
test/cases/ubi-wsl: fix waiting for a valid ipv4
Browse files Browse the repository at this point in the history
The counter never made it past 10.
  • Loading branch information
croissanne authored and thozza committed Sep 1, 2023
1 parent 23718dc commit e698e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cases/ubi-wsl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ for LOOP_COUNTER in {0..30}; do
if echo "$HOST" | grep -Eq "^([0-9]{1,3}[\.]){3}[0-9]{1,3}$"; then
break
fi
if [ "$LOOP_COUNTER" = "10" ]; then
if [ "$LOOP_COUNTER" = "30" ]; then
redprint "👻 the VM wasn't assigned a valid ipv4 address"
exit 1
fi
Expand Down

0 comments on commit e698e10

Please sign in to comment.