0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Increased sleep delay before killing Ghost in CI tests

- We'd randomly see SQLite take more than 10 seconds to set up the DB in
  CI so Ghost was getting killed prematurely, causing test failures
This commit is contained in:
Daniel Lockyer 2020-11-20 08:41:59 +00:00
parent 38d19c999d
commit 736c96439b

View file

@ -64,7 +64,7 @@ jobs:
- run: yarn
- run: |
node index.js &
sleep 10 && { kill $! && wait $!; } 2>/dev/null
sleep 20 && { kill $! && wait $!; } 2>/dev/null
- run: yarn knex-migrator rollback --v 3.0 --force
- run: yarn knex-migrator migrate --force