14 lines
594 B
Diff
14 lines
594 B
Diff
Index: node-v10.24.0/test/parallel/test-worker-stdio.js
|
|
===================================================================
|
|
--- node-v10.24.0.orig/test/parallel/test-worker-stdio.js
|
|
+++ node-v10.24.0/test/parallel/test-worker-stdio.js
|
|
@@ -28,7 +28,7 @@ if (isMainThread) {
|
|
const passed = new BufferingWritable();
|
|
|
|
const w = new Worker(__filename, { stdin: true, stdout: true });
|
|
- const source = fs.createReadStream(process.execPath);
|
|
+ const source = fs.createReadStream(process.execPath, { end:1000000 });
|
|
source.pipe(w.stdin);
|
|
source.pipe(original);
|
|
w.stdout.pipe(passed);
|