test: increase timeout to prevent CI failures

This commit is contained in:
Miroslav Bajtoš 2016-08-08 15:12:56 +02:00
parent 79a21b824d
commit a751230cd9
4 changed files with 8 additions and 1 deletions

View File

@ -7,6 +7,8 @@ var loopback = require('../');
var defineModelTestsWithDataSource = require('./util/model-tests');
describe('RemoteConnector', function() {
this.timeout(10000);
var remoteApp, remote;
defineModelTestsWithDataSource({

View File

@ -11,6 +11,8 @@ var expect = require('chai').expect;
var supertest = require('supertest');
describe('Replication over REST', function() {
this.timeout(10000);
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 EMERY = { id: 'e', username: 'emery', email: 'e@t.io', password: 'p' };

View File

@ -13,6 +13,8 @@ var expect = require('chai').expect;
var debug = require('debug')('test');
describe('Replication / Change APIs', function() {
this.timeout(10000);
var dataSource, SourceModel, TargetModel, useSinceFilter;
var tid = 0; // per-test unique id used e.g. to build unique model names

View File

@ -15,6 +15,8 @@ function checkResult(err, result) {
}
describe('role model', function() {
this.timeout(10000);
var app, Role, RoleMapping, User, Application, ACL;
beforeEach(function() {
@ -419,7 +421,6 @@ describe('role model', function() {
var user, app, role;
beforeEach(function(done) {
this.timeout(5000);
User.create({
username: 'john',
email: 'john@gmail.com',