test: fix flaky timeout in test-pipe-file-to-http#53380
test: fix flaky timeout in test-pipe-file-to-http#53380jakecastelli wants to merge 1 commit intonodejs:mainfrom
Conversation
|
It doesn't make much sense. Why resuming the stream a bit later fixes it? |
Thanks for potting it out @lpinca! I think you are absolutely right. I tried to dig it but without stack trace or meaning log I really couldn't get any direction. I am wondering if the |
|
See #52959 (comment). I think the issue here is the same. |
|
Thanks again! I have read about that comment and now it rings the bell! |
|
Can you try if the |
|
Sure, I will try it now. Can I ask two questions here:
Do you have any idea why I am getting it 👀 any potentially misconfiguration or something else?
|
Ummm I can still reproduce this on main on my machine - running 10,000 times and its around 30% atm got 2 timeout related failures: |
|
|
Did another run with adding still 3 timeouts, still got 1 potentially peer writes when other peer closes |
Fixes: #52963
Reproduced with 1000 runs:
After apply the fix seems stable: