diff options
author | Rich Trott <rtrott@gmail.com> | 2015-12-26 15:04:56 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2015-12-29 19:11:10 -0800 |
commit | 11136bf334cc22c34f7b5969f33d0b9f37342754 (patch) | |
tree | 7e54ce43a1bdc29eeb747201aabd8a20bfe184c2 /test/sequential/test-net-GH-5504.js | |
parent | 312b4d6371b353496f53e7eeeff89dabe25c97fa (diff) | |
download | android-node-v8-11136bf334cc22c34f7b5969f33d0b9f37342754.tar.gz android-node-v8-11136bf334cc22c34f7b5969f33d0b9f37342754.tar.bz2 android-node-v8-11136bf334cc22c34f7b5969f33d0b9f37342754.zip |
test: extend timeout in Debug mode
Debug mode slows execution speed. There is work afoot to enable Debug
mode runs on the continuous integration infrastructure for the project.
Some tests are timing out, such as test-net-GH-5504.js.
This change doubles the timeout returned from `common.platformTimeout()`
when running in Debug mode. It also removes an unused variable from the
aforementioned test-net-GH-5504.js.
PR-URL: https://github.com/nodejs/node/pull/4431
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Diffstat (limited to 'test/sequential/test-net-GH-5504.js')
-rw-r--r-- | test/sequential/test-net-GH-5504.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/sequential/test-net-GH-5504.js b/test/sequential/test-net-GH-5504.js index 9526993dfd..179b3ae3c2 100644 --- a/test/sequential/test-net-GH-5504.js +++ b/test/sequential/test-net-GH-5504.js @@ -1,6 +1,5 @@ 'use strict'; var common = require('../common'); -var assert = require('assert'); // this test only fails with CentOS 6.3 using kernel version 2.6.32 // On other linuxes and darwin, the `read` call gets an ECONNRESET in |