refs #5160 Back test timeout workaround
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Javi Gallego 2023-05-11 13:54:42 +02:00
parent 1654cc410a
commit 8a843b37bd
1 changed files with 3 additions and 1 deletions

View File

@ -34,6 +34,8 @@ async function test() {
app.boot(bootOptions,
err => err ? reject(err) : resolve());
});
// FIXME: Workaround to wait for loopback to be ready
await app.models.Application.status();
const Jasmine = require('jasmine');
const jasmine = new Jasmine();
@ -53,7 +55,7 @@ async function test() {
const JunitReporter = require('jasmine-reporters');
jasmine.addReporter(new JunitReporter.JUnitXmlReporter());
jasmine.jasmine.DEFAULT_TIMEOUT_INTERVAL = 90000;
jasmine.jasmine.DEFAULT_TIMEOUT_INTERVAL = 5000;
jasmine.exitOnCompletion = true;
}