Skip to content

Commit

Permalink
stop silencing db attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
Timur Karimov authored and Timur Karimov committed Dec 12, 2024
1 parent f1fca37 commit 0d7841e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/env/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ step "Setting up CLIENT site"
# Wait for containers to be started up before the setup.
# The db being accessible means that the db container started and the WP has been downloaded and the plugin linked
set +e
cli wp db check --path=/var/www/html --quiet > /dev/null
cli_debug wp db check --path=/var/www/html
while [[ $? -ne 0 ]]; do
echo "Waiting until the service is ready..."
sleep 5
cli wp db check --path=/var/www/html --quiet > /dev/null
cli_debug wp db check --path=/var/www/html
done
echo "Client DB is up and running..."
set -e
Expand Down

0 comments on commit 0d7841e

Please sign in to comment.