Open
Description
- Version: v13.11.0
- Platform: macOS Catalina
- Subsystem: benchmark
What steps will reproduce the bug?
node benchmark/http/simple.js
How often does it reproduce? Is there a required condition?
Always reproduces.
What is the expected behavior?
It should run without timeout error on macOS.
What do you see instead?
Additional information
I found that it works when I change duration
from 5 to 10. It could be some problem with frequently port binding.
const bench = common.createBenchmark(main, {
// Unicode confuses ab on os x.
type: ['bytes', 'buffer'],
len: [4, 1024, 102400],
chunks: [1, 4],
c: [50, 500],
chunkedEnc: [1, 0],
duration: 5 // replace with 10, it works
});