Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
test: use platform time
  • Loading branch information
jakecastelli committed Aug 27, 2024
commit e88cad429973fce468c9afe0f9d6186c0d62284b
4 changes: 2 additions & 2 deletions test/parallel/test-http-outgoing-end-cork.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ const common = require('../common');
const assert = require('assert');
const http = require('http');

const REQ_TIMEOUT = 500; // Set max ms of request time before abort
const REQ_TIMEOUT = common.platformTimeout(500); // Set max ms of request time before abort
Comment thread
jakecastelli marked this conversation as resolved.

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

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