Skip to content

Commit 7fd9240

Browse files
committed
test: increase tap timeout
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>
1 parent 656117c commit 7fd9240

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ matrix:
2828
- name: "Node.js 12 & Python 3.7 on Linux"
2929
python: 3.7
3030
before_install: nvm install 12
31-
allow_failures:
32-
- os: windows
3331
install:
3432
#- pip install -r requirements.txt
3533
- pip install flake8 # pytest # add another testing frameworks later

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@
4646
},
4747
"scripts": {
4848
"lint": "standard */*.js test/**/*.js",
49-
"test": "npm run lint && tap test/test-*"
49+
"test": "npm run lint && tap --timeout=120 test/test-*"
5050
}
5151
}

0 commit comments

Comments
 (0)