Skip to content

Commit

Permalink
Updated timeouts for server build/lift in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sgress454 committed Feb 8, 2014
1 parent 2acc74e commit 51e59ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/integration/pubsub.modelEvents.noSubscribers.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ describe('pubsub :: ', function() {
describe('when no one is subscribed to user #1 and User has no watchers ', function() {

before(function(done) {
this.timeout(5000);
appHelper.buildAndLiftWithTwoSockets(appName, function(err, sails, _socket1, _socket2) {
if (err) {throw new Error(err);}
sailsprocess = sails;
Expand Down
1 change: 1 addition & 0 deletions test/integration/pubsub.modelEvents.subscribers.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ describe('pubsub :: ', function() {
describe('when a socket is watching Users ', function() {

before(function(done) {
this.timeout(5000);
appHelper.buildAndLiftWithTwoSockets(appName, {verbose: false}, function(err, sails, _socket1, _socket2) {
if (err) {throw new Error(err);}
sailsprocess = sails;
Expand Down
2 changes: 1 addition & 1 deletion test/integration/router.APIScaffold.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ var Err = {

describe('router :: ', function() {

this.timeout(10000);
var sailsprocess;

describe('API scaffold routes', function() {
var appName = 'testApp';

before(function(done) {
this.timeout(5000);
appHelper.build(done);
});

Expand Down

0 comments on commit 51e59ba

Please sign in to comment.