Increase the time to wait for the DB.

If this doesn't work, I'll implement a poll mechanism next.
This commit is contained in:
Matt Rogers 2018-05-29 20:26:17 -05:00
parent 7dd8e8caec
commit 9f65d809da
No known key found for this signature in database
GPG key ID: 605D017C07EB4316

View file

@ -16,7 +16,7 @@ cp config/site.yml.tmpl config/site.yml
$docker_compose build
$docker_compose up -d
sleep 2 # janky way of waiting for the database to be up
sleep 5 # janky way of waiting for the database to be up
# Leaving this in since it will be needed for Rails 5
# bin/rails db:environment:set RAILS_ENV=test || true