We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a72c964 commit 780f478Copy full SHA for 780f478
test/parallel/test-http-outgoing-end-cork.js
@@ -3,11 +3,11 @@ const common = require('../common');
3
const assert = require('assert');
4
const http = require('http');
5
6
-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
7
8
// Set total allowed test timeout to avoid infinite loop
9
// that will hang test suite
10
-const TOTAL_TEST_TIMEOUT = 1000;
+const TOTAL_TEST_TIMEOUT = common.platformTimeout(1000);
11
12
// Placeholder for sockets handled, to make sure that we
13
// will reach a socket re-use case.
0 commit comments