GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: fix flaky test-repl · nodejs/node@2192528

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-repl.js
Expand file treeCollapse file tree
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)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.