Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2192528

Browse filesBrowse files
mscdexevanlucas
authored andcommitted
test: fix flaky test-repl
PR-URL: #5914 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 40847b0 commit 2192528
Copy full SHA for 2192528

File tree

Expand file treeCollapse file tree

1 file changed

+1
-6
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-6
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-repl.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-repl.js
+1-6Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const prompt_npm = 'npm should be run outside of the ' +
1515
'node repl, in your normal shell.\n' +
1616
'(Press Control-D to exit.)\n';
1717
const expect_npm = prompt_npm + prompt_unix;
18-
var server_tcp, server_unix, client_tcp, client_unix, timer, replServer;
18+
var server_tcp, server_unix, client_tcp, client_unix, replServer;
1919

2020

2121
// absolute path to test/fixtures/a.js
@@ -45,7 +45,6 @@ function send_expect(list) {
4545
function clean_up() {
4646
client_tcp.end();
4747
client_unix.end();
48-
clearTimeout(timer);
4948
}
5049

5150
function strict_mode_error_test() {
@@ -463,7 +462,3 @@ function unix_test() {
463462
}
464463

465464
unix_test();
466-
467-
timer = setTimeout(function() {
468-
assert.fail(null, null, 'Timeout');
469-
}, 5000);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.