Skip to content

Commit

Permalink
Apply the BMSPP.
Browse files Browse the repository at this point in the history
Some tests have been timing out on cloudbees CI, but not locally or on
Travis. Let's see if this fixes it.
  • Loading branch information
lance committed Apr 23, 2015
1 parent f05b3b4 commit 46842ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/test/javascript/childProcessSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe( 'child_process', function() {
});

it( 'should be able to send sockets to a child', function() {
waitsFor(helper.testComplete, "child process to be killed", 10000 );
waitsFor(helper.testComplete, "child process to be killed", 15000 );
var connection;
var child = child_process.fork( './src/test/javascript/forked_socket_module.js' );
child.on( "exit", function(code, signal) {
Expand Down
8 changes: 3 additions & 5 deletions src/test/javascript/httpClientSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe( "http.request", function() {
});

it( "should send the request when headers are implicitly sent", function() {
waitsFor(helper.testComplete, "page to load", 5000 );
waitsFor(helper.testComplete, "page to load", 15000 );
var page = '';
var request = http.request( { host: 'nodyn.io' }, function(response) {
response.on('data', function(d) {
Expand All @@ -38,7 +38,7 @@ describe( "http.request", function() {
});

it('should receive a "socket" event', function() {
waitsFor(helper.testComplete, "page to load", 5000 );
waitsFor(helper.testComplete, "page to load", 15000 );
var socket;
var request = http.request( { host: 'nodyn.io' }, function(response) {
response.on('data',function(){});
Expand All @@ -54,7 +54,7 @@ describe( "http.request", function() {
});

it('should allow later binding of a response-handler', function(){
waitsFor(helper.testComplete, "page to load", 5000 );
waitsFor(helper.testComplete, "page to load", 15000 );
var page = '';
var request = http.request( { host: 'nodyn.io' } );
request.on('response', function(response) {
Expand All @@ -70,5 +70,3 @@ describe( "http.request", function() {
request.end();
});
});


0 comments on commit 46842ac

Please sign in to comment.