Skip to content

Commit

Permalink
Wait for site to be installed before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelgbanks committed Nov 12, 2024
1 parent c3bdffa commit d7e1bce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/init-template-starter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ cp ./tests/solr.php drupal/rootfs/var/www/drupal/

docker compose --profile dev up -d

printf "Waiting for installation..."
docker compose --profile dev exec drupal-dev timeout 600 bash -c "while ! test -f /installed; do sleep 5; done"

./tests/ping.sh

docker compose --profile dev exec drupal-dev drush scr solr.php

0 comments on commit d7e1bce

Please sign in to comment.