Compare commits

...

3 Commits

Author SHA1 Message Date
Vicent Llopis 46f325acc1 borrado callback
gitea/salix/pipeline/head There was a failure building this commit Details
2023-05-16 13:48:05 +02:00
Vicent Llopis 9b91eb46f3 a
gitea/salix/pipeline/head Build queued... Details
2023-05-16 13:23:45 +02:00
Vicent Llopis dbac413922 refs #5160 bajado tiempo a 5000
gitea/salix/pipeline/head There was a failure building this commit Details
2023-05-16 13:14:11 +02:00
1 changed files with 4 additions and 7 deletions

View File

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