Skip to content

Commit

Permalink
test: increase tap timeout
Browse files Browse the repository at this point in the history
test-addon.js includes compiling code, making the default 30 second
timeout not suitable. This increases the timeout for all platforms,
which is a potential problem everywhere, fixing the timeout that
happens on Windows.

Fixes: #1801
PR-URL: #1812
Reviewed-By: Christian Clauss <cclauss@me.com>
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
  • Loading branch information
joaocgreis committed Jul 9, 2019
1 parent 656117c commit 7fd9240
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ matrix:
- name: "Node.js 12 & Python 3.7 on Linux"
python: 3.7
before_install: nvm install 12
allow_failures:
- os: windows
install:
#- pip install -r requirements.txt
- pip install flake8 # pytest # add another testing frameworks later
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
},
"scripts": {
"lint": "standard */*.js test/**/*.js",
"test": "npm run lint && tap test/test-*"
"test": "npm run lint && tap --timeout=120 test/test-*"
}
}

0 comments on commit 7fd9240

Please sign in to comment.