Match sleep with new-migration script.

This commit is contained in:
george 2022-02-03 21:11:42 +00:00
parent 3a5f077bbf
commit 5815ee0b2e
No known key found for this signature in database
GPG Key ID: D30164B91DE6EEE3
2 changed files with 2 additions and 2 deletions

View File

@ -16,4 +16,4 @@ env DB_URI=postgresql://postgres:postgres@127.0.0.1:25432/sl poetry run alembic
env DB_URI=postgresql://postgres:postgres@127.0.0.1:25432/sl poetry run alembic revision --autogenerate
# remove the db
docker rm -f sl-db
docker rm -f sl-db

View File

@ -5,7 +5,7 @@ docker rm -f sl-test-db
docker run -d --name sl-test-db -e POSTGRES_PASSWORD=test -e POSTGRES_USER=test -e POSTGRES_DB=test -p 15432:5432 postgres:13
# the time the DB container starts
sleep 5
sleep 3
poetry run pytest