Skip to content

Commit

Permalink
chore: gtimeout is for osx
Browse files Browse the repository at this point in the history
  • Loading branch information
kmruiz committed May 13, 2024
1 parent 49410b9 commit cad8d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/run-ui-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ IDEA_PID=$!

waitForUrl() {
echo "Testing $1"
gtimeout -s TERM 90 bash -c \
timeout -s TERM 90 bash -c \
'while [[ "$(curl -s -o /dev/null -L -w ''%{http_code}'' ${0})" != "200" ]];\
do echo "Waiting for ${0}" && sleep 2;\
done' $1
Expand Down

0 comments on commit cad8d8f

Please sign in to comment.