Skip to content

Commit

Permalink
Update --on-port test to expect new percentiles output
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Aug 15, 2018
1 parent f85b259 commit 98a67de
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/onPort.test.js
Expand Up @@ -11,11 +11,15 @@ test('--on-port flag', { skip: !hasAsyncHooks() }, (t) => {
/Running 1s test @ .*$/,
/10 connections.*$/,
/$/,
/Stat.*Avg.*Stdev.*Max.*$/,
/Latency \(ms\).*$/,
/Stat.*2\.5%.*50%.*97\.5%.*99%.*Avg.*Stdev.*Max.*$/,
/Latency.*$/,
/$/,
/Stat.*1%.*2\.5%.*50%.*97\.5%.*Avg.*Stdev.*Min.*$/,
/Req\/Sec.*$/,
/Bytes\/Sec.*$/,
/$/,
/Req\/Bytes counts sampled once per second.*$/,
/$/,
// Ensure that there are more than 0 successful requests
/[1-9]\d*.* requests in \d+s, .* read/
]
Expand Down

0 comments on commit 98a67de

Please sign in to comment.