test: deflake test-net-throttle
Sometimes the test completes with only two data chunks received on the client. Fixes: https://github.com/nodejs/node/issues/40507 PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
01233410f7
commit
26bfae531f
@ -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`);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user