From 736c96439bd39a31417b8c4f75e407efba96b673 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Fri, 20 Nov 2020 08:41:59 +0000 Subject: [PATCH] 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 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d70050b09f..d9848a11e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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