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: #40507
PR-URL: #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 ruyadorno committed Sep 16, 2023
1 parent 33886b2 commit 01eaccc
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 01eaccc

Please sign in to comment.