We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e65069 commit 9b39ca6Copy full SHA for 9b39ca6
test/parallel/test-http-get-pipeline-problem.js
@@ -3,6 +3,7 @@
3
// after http.globalAgent.maxSockets number of files.
4
// See https://groups.google.com/forum/#!topic/nodejs-dev/V5fB69hFa9o
5
const common = require('../common');
6
+const fixtures = require('../common/fixtures');
7
const assert = require('assert');
8
const http = require('http');
9
const fs = require('fs');
@@ -11,7 +12,7 @@ http.globalAgent.maxSockets = 1;
11
12
13
common.refreshTmpDir();
14
-const image = fs.readFileSync(`${common.fixturesDir}/person.jpg`);
15
+const image = fixtures.readSync('/person.jpg');
16
17
console.log(`image.length = ${image.length}`);
18
0 commit comments