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 <[email protected]>
Reviewed-By: Jacob Smith <[email protected]>
Reviewed-By: LiviaMedeiros <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Nitzan Uziely <[email protected]>
  • Loading branch information
lpinca authored and juanarbol committed Jul 13, 2023
1 parent d378b2c commit 6e82077
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 6e82077

Please sign in to comment.