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
  • Loading branch information
lpinca committed Jun 29, 2023
1 parent 94a7c3b commit 457a9c4
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 457a9c4

Please sign in to comment.