Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Dec 6, 2023
1 parent 212bfee commit 3f0fe8e
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/pull-request-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,15 +197,8 @@ jobs:
do
curl http://localhost:4444/wd/hub/status > /tmp/wd-status.json
if [[ $? -eq 0 ]]
then
cat /tmp/wd-status.json | jq -r 'if (.value.ready != true) then halt_error(1) else empty end'
if [[ $? -eq 0 ]]
then
break
fi
fi
[[ $? -eq 0 ]] && cat /tmp/wd-status.json | jq -r 'if (.value.ready != true) then halt_error(1) else empty end'
[[ $? -eq 0 ]] && break
sleep 1
done
Expand Down

0 comments on commit 3f0fe8e

Please sign in to comment.