Skip to content

Commit

Permalink
Negate condition; lower sleep period
Browse files Browse the repository at this point in the history
  • Loading branch information
ssciolla committed Apr 10, 2024
1 parent 1aa4a93 commit 36df1d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
run: |
for i in {1..10}
do
if [[ $(mysqladmin ping -h"127.0.0.1" -P"3306" --silent) ]]; then
if [[ ! $(mysqladmin ping -h"127.0.0.1" -P"3306" --silent) ]]; then
exit 0
else
sleep 10
sleep 3
fi
done
exit 1
Expand Down

0 comments on commit 36df1d0

Please sign in to comment.