Skip to content

Commit

Permalink
test: increase timeout to prevent CI failures
Browse files Browse the repository at this point in the history
  • Loading branch information
bajtos committed Aug 8, 2016
1 parent 79a21b8 commit a751230
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/remote-connector.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ var loopback = require('../');
var defineModelTestsWithDataSource = require('./util/model-tests');

describe('RemoteConnector', function() {
this.timeout(10000);

var remoteApp, remote;

defineModelTestsWithDataSource({
Expand Down
2 changes: 2 additions & 0 deletions test/replication.rest.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '[email protected]', password: 'p' };
var PETER = { id: 'p', username: 'peter', email: '[email protected]', password: 'p' };
var EMERY = { id: 'e', username: 'emery', email: '[email protected]', password: 'p' };
Expand Down
2 changes: 2 additions & 0 deletions test/replication.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion test/role.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ function checkResult(err, result) {
}

describe('role model', function() {
this.timeout(10000);

var app, Role, RoleMapping, User, Application, ACL;

beforeEach(function() {
Expand Down Expand Up @@ -419,7 +421,6 @@ describe('role model', function() {
var user, app, role;

beforeEach(function(done) {
this.timeout(5000);
User.create({
username: 'john',
email: '[email protected]',
Expand Down

0 comments on commit a751230

Please sign in to comment.