diff options
author | Brian White <mscdex@mscdex.net> | 2016-03-25 14:31:57 -0400 |
---|---|---|
committer | Brian White <mscdex@mscdex.net> | 2016-03-30 15:45:34 -0400 |
commit | ef6c4c694f901dbd47087bc2f7e3b72ed5d033a3 (patch) | |
tree | fbf8efc7760a605fda0e689000dfa6c48d5c91c5 | |
parent | 05b3a0b22cfc91106baf07d38d287db91fdbe3ba (diff) | |
download | node-new-ef6c4c694f901dbd47087bc2f7e3b72ed5d033a3.tar.gz |
test: fix flaky test-repl
PR-URL: https://github.com/nodejs/node/pull/5914
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
-rw-r--r-- | test/parallel/test-repl.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/parallel/test-repl.js b/test/parallel/test-repl.js index ab7df802ad..2fa20eb75f 100644 --- a/test/parallel/test-repl.js +++ b/test/parallel/test-repl.js @@ -15,7 +15,7 @@ const prompt_npm = 'npm should be run outside of the ' + 'node repl, in your normal shell.\n' + '(Press Control-D to exit.)\n'; const expect_npm = prompt_npm + prompt_unix; -var server_tcp, server_unix, client_tcp, client_unix, timer, replServer; +var server_tcp, server_unix, client_tcp, client_unix, replServer; // absolute path to test/fixtures/a.js @@ -45,7 +45,6 @@ function send_expect(list) { function clean_up() { client_tcp.end(); client_unix.end(); - clearTimeout(timer); } function strict_mode_error_test() { @@ -463,7 +462,3 @@ function unix_test() { } unix_test(); - -timer = setTimeout(function() { - assert.fail(null, null, 'Timeout'); -}, 5000); |