From a45bbff46be677071d0f32a1377b5018dc94090b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Reis?= Date: Sun, 7 Jul 2019 20:29:10 +0100 Subject: [PATCH] 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: https://github.com/nodejs/node-gyp/issues/1801 --- .travis.yml | 2 -- package.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5703bfa01d..895690dc8d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/package.json b/package.json index 260ac9d959..15f07459eb 100644 --- a/package.json +++ b/package.json @@ -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-*" } }