Skip to content

Commit

Permalink
Update test/parallel/test-worker-stdio.js
Browse files Browse the repository at this point in the history
Maybe just using the separators is good enough. The actual number here is not important provided it is large enough while not too large.

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
AdamMajer and aduh95 committed Mar 16, 2021
1 parent 7197f9e commit bd489fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-worker-stdio.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if (isMainThread) {
const passed = new BufferingWritable();

const w = new Worker(__filename, { stdin: true, stdout: true });
const source = fs.createReadStream(process.execPath, { end: 1000000 });
const source = fs.createReadStream(process.execPath, { end: 1_000_000 });
source.pipe(w.stdin);
source.pipe(original);
w.stdout.pipe(passed);
Expand Down

0 comments on commit bd489fc

Please sign in to comment.