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: use platform timeout · nodejs/node@f084ea2

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/parallel
    • test-http-outgoing-end-cork.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/test-http-outgoing-end-cork.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-http-outgoing-end-cork.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ const common = require('../common');
33
const assert = require('assert');
44
const http = require('http');
55

6-
const REQ_TIMEOUT = 500; // Set max ms of request time before abort
6+
const REQ_TIMEOUT = common.platformTimeout(500); // Set max ms of request time before abort
77

88
// Set total allowed test timeout to avoid infinite loop
99
// that will hang test suite
10-
const TOTAL_TEST_TIMEOUT = 1000;
10+
const TOTAL_TEST_TIMEOUT = common.platformTimeout(1000);
1111

1212
// Placeholder for sockets handled, to make sure that we
1313
// will reach a socket re-use case.

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.