fix core integration test yet again
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
This commit is contained in:
parent
87cc47f498
commit
73e9be2ff0
1 changed files with 4 additions and 6 deletions
|
@ -318,16 +318,14 @@ runners.forEach(function([runnerName, appname]) {
|
||||||
let checkListening = await sendRequestToApplication(listening)
|
let checkListening = await sendRequestToApplication(listening)
|
||||||
assert.strictEqual(checkListening.body.version, 'v1')
|
assert.strictEqual(checkListening.body.version, 'v1')
|
||||||
|
|
||||||
while (!hasLogLine(/core is running/)) {
|
while (!hasLogLine(/is up and running/)) {
|
||||||
await catchupLog(10)
|
await setTimeout(10)
|
||||||
if (processor.exitCode !== null) {
|
if (processor.exitCode !== null) {
|
||||||
throw new Error('Process exited with ' + processor.exitCode)
|
throw new Error('Process exited with ' + processor.exitCode)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
while (!hasLogLine(/is up and running/)) {
|
await setTimeout(50)
|
||||||
await setTimeout(10)
|
|
||||||
}
|
|
||||||
|
|
||||||
catchupLog()
|
catchupLog()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue