test: increase timeout to prevent CI failures
This commit is contained in:
parent
79a21b824d
commit
a751230cd9
|
@ -7,6 +7,8 @@ var loopback = require('../');
|
||||||
var defineModelTestsWithDataSource = require('./util/model-tests');
|
var defineModelTestsWithDataSource = require('./util/model-tests');
|
||||||
|
|
||||||
describe('RemoteConnector', function() {
|
describe('RemoteConnector', function() {
|
||||||
|
this.timeout(10000);
|
||||||
|
|
||||||
var remoteApp, remote;
|
var remoteApp, remote;
|
||||||
|
|
||||||
defineModelTestsWithDataSource({
|
defineModelTestsWithDataSource({
|
||||||
|
|
|
@ -11,6 +11,8 @@ var expect = require('chai').expect;
|
||||||
var supertest = require('supertest');
|
var supertest = require('supertest');
|
||||||
|
|
||||||
describe('Replication over REST', function() {
|
describe('Replication over REST', function() {
|
||||||
|
this.timeout(10000);
|
||||||
|
|
||||||
var ALICE = { id: 'a', username: 'alice', email: 'a@t.io', password: 'p' };
|
var ALICE = { id: 'a', username: 'alice', email: 'a@t.io', password: 'p' };
|
||||||
var PETER = { id: 'p', username: 'peter', email: 'p@t.io', password: 'p' };
|
var PETER = { id: 'p', username: 'peter', email: 'p@t.io', password: 'p' };
|
||||||
var EMERY = { id: 'e', username: 'emery', email: 'e@t.io', password: 'p' };
|
var EMERY = { id: 'e', username: 'emery', email: 'e@t.io', password: 'p' };
|
||||||
|
|
|
@ -13,6 +13,8 @@ var expect = require('chai').expect;
|
||||||
var debug = require('debug')('test');
|
var debug = require('debug')('test');
|
||||||
|
|
||||||
describe('Replication / Change APIs', function() {
|
describe('Replication / Change APIs', function() {
|
||||||
|
this.timeout(10000);
|
||||||
|
|
||||||
var dataSource, SourceModel, TargetModel, useSinceFilter;
|
var dataSource, SourceModel, TargetModel, useSinceFilter;
|
||||||
var tid = 0; // per-test unique id used e.g. to build unique model names
|
var tid = 0; // per-test unique id used e.g. to build unique model names
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,8 @@ function checkResult(err, result) {
|
||||||
}
|
}
|
||||||
|
|
||||||
describe('role model', function() {
|
describe('role model', function() {
|
||||||
|
this.timeout(10000);
|
||||||
|
|
||||||
var app, Role, RoleMapping, User, Application, ACL;
|
var app, Role, RoleMapping, User, Application, ACL;
|
||||||
|
|
||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
|
@ -419,7 +421,6 @@ describe('role model', function() {
|
||||||
var user, app, role;
|
var user, app, role;
|
||||||
|
|
||||||
beforeEach(function(done) {
|
beforeEach(function(done) {
|
||||||
this.timeout(5000);
|
|
||||||
User.create({
|
User.create({
|
||||||
username: 'john',
|
username: 'john',
|
||||||
email: 'john@gmail.com',
|
email: 'john@gmail.com',
|
||||||
|
|
Loading…
Reference in New Issue