fix core integration test yet again
continuous-integration/appveyor/branch AppVeyor build succeeded Details

master v3.0.0-beta.6
Jonatan Nilsson 2022-03-10 13:11:23 +00:00
parent 87cc47f498
commit 73e9be2ff0
1 changed files with 4 additions and 6 deletions

View File

@ -318,17 +318,15 @@ runners.forEach(function([runnerName, appname]) {
let checkListening = await sendRequestToApplication(listening)
assert.strictEqual(checkListening.body.version, 'v1')
while (!hasLogLine(/core is running/)) {
await catchupLog(10)
while (!hasLogLine(/is up and running/)) {
await setTimeout(10)
if (processor.exitCode !== null) {
throw new Error('Process exited with ' + processor.exitCode)
}
}
while (!hasLogLine(/is up and running/)) {
await setTimeout(10)
}
await setTimeout(50)
catchupLog()
let db = JSON.parse(await fs.readFile(util.getPathFromRoot('./db.json')))