Update test.js
Fixes wrong channels counter
This commit is contained in:
parent
c79415e2d2
commit
45d92c14c9
@ -33,6 +33,7 @@ async function test() {
|
|||||||
omitMetadata: true,
|
omitMetadata: true,
|
||||||
parallel: 1,
|
parallel: 1,
|
||||||
itemCallback: item => {
|
itemCallback: item => {
|
||||||
|
stats.channels++
|
||||||
if (!item.status.ok && item.status.reason !== 'Timed out') {
|
if (!item.status.ok && item.status.reason !== 'Timed out') {
|
||||||
stats.failures++
|
stats.failures++
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user