Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 01eaccc

Browse filesBrowse files
lpincaruyadorno
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 <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>
1 parent 33886b2 commit 01eaccc
Copy full SHA for 01eaccc

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-net-throttle.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-net-throttle.js
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.