From 87cc47f498f2fe3040ee837cadc1ff8d4fe88312 Mon Sep 17 00:00:00 2001 From: Jonatan Nilsson Date: Thu, 10 Mar 2022 13:10:02 +0000 Subject: [PATCH] Make the integration test slightly more consistent --- test/core.test.integration.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/core.test.integration.mjs b/test/core.test.integration.mjs index d44a7a4..5206d21 100644 --- a/test/core.test.integration.mjs +++ b/test/core.test.integration.mjs @@ -325,6 +325,10 @@ runners.forEach(function([runnerName, appname]) { } } + while (!hasLogLine(/is up and running/)) { + await setTimeout(10) + } + catchupLog() let db = JSON.parse(await fs.readFile(util.getPathFromRoot('./db.json')))