Skip to content

Commit

Permalink
test: fix flaky test-repl
Browse files Browse the repository at this point in the history
PR-URL: #5914
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
mscdex authored and Myles Borins committed Apr 8, 2016
1 parent a0a2e69 commit 9702153
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/parallel/test-repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -45,7 +45,6 @@ function send_expect(list) {
function clean_up() {
client_tcp.end();
client_unix.end();
clearTimeout(timer);
}

function strict_mode_error_test() {
Expand Down Expand Up @@ -449,7 +448,3 @@ function unix_test() {
}

unix_test();

timer = setTimeout(function() {
assert.fail(null, null, 'Timeout');
}, 5000);

0 comments on commit 9702153

Please sign in to comment.