[Pkg-javascript-commits] [sockjs-client] 173/350: Increase timeouts for wrong url/port tests

tonnerre at ancient-solutions.com tonnerre at ancient-solutions.com
Fri Aug 5 01:04:13 UTC 2016


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch upstream
in repository sockjs-client.

commit 55597b40fedbf08b951753b3730f2a2d95d2d8da
Author: Bryce Kahle <bkahle at gmail.com>
Date:   Fri Oct 17 16:53:06 2014 -0400

    Increase timeouts for wrong url/port tests
---
 tests/lib/end-to-end.js | 2 +-
 tests/lib/senders.js    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/lib/end-to-end.js b/tests/lib/end-to-end.js
index 793d798..fc47941 100644
--- a/tests/lib/end-to-end.js
+++ b/tests/lib/end-to-end.js
@@ -9,7 +9,7 @@ var expect = require('expect.js')
 
 describe('End to End', function () {
   // selenium needs a long time to timeout
-  this.timeout(20000);
+  this.timeout(30000);
 
   describe('Connection Errors', function () {
     it('invalid url 404', function (done) {
diff --git a/tests/lib/senders.js b/tests/lib/senders.js
index 7a07eff..e54af3a 100644
--- a/tests/lib/senders.js
+++ b/tests/lib/senders.js
@@ -37,7 +37,7 @@ function ajaxStreaming (Obj) {
 function wrongUrl(Obj, url, statuses) {
   it('wrong url ' + url, function (done) {
     // Selenium has a long timeout for when it can't connect to the port
-    this.timeout(20000);
+    this.timeout(30000);
     var x = new Obj('GET', url, null);
     x.on('chunk', function (status, text) {
       expect().fail('No chunk should be received: ' + status + ', ' + text);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list