test: fix flaky timeout in test-pipe-file-to-http
Fixes: https://github.com/nodejs/node/issues/52963
Reproduced with 1000 runs:
./tools/test.py --repeat 1000 test/parallel/test-pipe-file-to-http.js
=== release test-pipe-file-to-http ===
Path: parallel/test-pipe-file-to-http
Command: ./node/test/parallel/test-pipe-file-to-http.js
--- TIMEOUT ---
[06:16|% 100|+ 999|- 1]: Done
Failed tests:
./node/test/parallel/test-pipe-file-to-http.js
After apply the fix seems stable:
✗ ./tools/test.py --repeat 1000 test/parallel/test-pipe-file-to-http.js
[02:48|% 100|+ 1000|- 0]: Done
All tests passed.
./tools/test.py --repeat 1000 test/parallel/test-pipe-file-to-http.js
[02:44|% 100|+ 1000|- 0]: Done
All tests passed.