Skip to content

Commit

Permalink
test: deflake test-net-throttle
Browse files Browse the repository at this point in the history
Sometimes the test completes with only two data chunks received on the
client.

Fixes: nodejs#40507
PR-URL: nodejs#48599
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Nitzan Uziely <linkgoron@gmail.com>
  • Loading branch information
lpinca authored and Ceres6 committed Aug 14, 2023
1 parent 541f033 commit a519571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-net-throttle.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,5 @@ server.listen(0, () => {

process.on('exit', () => {
assert.strictEqual(chars_recved, totalLength);
assert.strictEqual(npauses > 2, true);
assert.ok(npauses > 1, `${npauses} > 1`);
});

0 comments on commit a519571

Please sign in to comment.