Skip to content

Commit 6e82077

Browse files
lpincajuanarbol
authored andcommitted
test: deflake test-net-throttle
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]>
1 parent d378b2c commit 6e82077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-net-throttle.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,5 @@ server.listen(0, () => {
8484

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

0 commit comments

Comments
 (0)