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 7d3a843

Browse filesBrowse files
TrottMylesBorins
authored andcommitted
test: fix flaky test-benchmark-querystring
Allow zero iterations for short benchmark in test. PR-URL: #17517 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
1 parent 89d31ee commit 7d3a843
Copy full SHA for 7d3a843

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+6
-5
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-benchmark-querystring.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-benchmark-querystring.js
+6-5Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ require('../common');
44

55
const runBenchmark = require('../common/benchmark');
66

7-
runBenchmark('querystring', [
8-
'n=1',
9-
'input="there is nothing to unescape here"',
10-
'type=noencode'
11-
]);
7+
runBenchmark('querystring',
8+
[ 'n=1',
9+
'input="there is nothing to unescape here"',
10+
'type=noencode'
11+
],
12+
{ NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.