Skip to content

Commit

Permalink
Increasing delay in tests for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
yasserf committed Sep 30, 2016
1 parent 53eb730 commit bb3fd94
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ services:
node_js:
- "stable"

env:
- DEFAULT_DELAY: 50

script:
- npm run reporter
- npm run e2e
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"devDependencies": {
"browserify": "13.0.1",
"coveralls": "^2.11.9",
"deepstream.io-e2e": "git+https://github.com/deepstreamIO/deepstream.io-e2e.git",
"cucumber": "^1.3.0",
"deepstream.io": "git+https://github.com/deepstreamIO/deepstream.io.git",
"deepstream.io-cache-redis": "latest",
Expand Down
2 changes: 1 addition & 1 deletion test-e2e/steps/client/utils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

const defaultDelay = process.env.defaultDelay || 10;
const defaultDelay = process.env.DEFAULT_DELAY || 10;

function parseData( data ) {
if( data === undefined || data === 'undefined' ) {
Expand Down
2 changes: 1 addition & 1 deletion test-specs/steps/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ module.exports = {
testServerHost: 'localhost',
testServerPort: 7777,
secondaryTestServerPort: 8888,
tcpMessageWaitTime: 10
tcpMessageWaitTime: process.env.DEFAULT_DELAY || 10
};

0 comments on commit bb3fd94

Please sign in to comment.