diff --git a/run_files.sh b/run_files.sh index 334c956107496f91da62f88808e5ae23eafb2cbc..37566c14f42c4c21733d5f168b13b9b1cd652c7f 100755 --- a/run_files.sh +++ b/run_files.sh @@ -50,12 +50,18 @@ for value in "${files[@]}"; do echo "*********************************************************" echo "Current Test: $value" echo "*********************************************************" - echo "Setting up site ..." + echo "Stopping chrome driver ..." pgrep chrome | xargs kill -9 - sleep 20s + echo "Sleeping ..." + sleep 15s + echo "Dropping database ..." drush sql-drop -y + echo "Importing database ..." drush sql-cli < "$sqlfile" + echo "Starting chrome driver ..." chromedriver --port=9515 --url-base=/wd/hub & + echo "Sleeping ..." + sleep 15s echo "Done setting up site." echo "*********************************************************" echo "Starting test ... $value"