Skip to content

test: fix flaky test-benchmark-querystring - #17517

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:fix-test-bench-querystring
Closed

test: fix flaky test-benchmark-querystring#17517
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:fix-test-bench-querystring

Conversation

@Trott

@TrottTrott commented Dec 7, 2017

Copy link
Copy Markdown
Member

Allow zero iterations for short benchmark in test.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test benchmark querystring

Allow zero iterations for short benchmark in test.
@TrottTrott added benchmark Issues and PRs related to the benchmark subsystem. flaky-test Issues and PRs related to the tests with unstable failures on the CI. querystring Issues and PRs related to the built-in querystring module. test Issues and PRs related to the tests. labels Dec 7, 2017
@Trott

Trott commented Dec 7, 2017

Copy link
Copy Markdown
MemberAuthor

Sample failure in CI:

https://ci.nodejs.org/job/node-test-commit-linux-linked/646/nodes=ubuntu1604_sharedlibs_fips20_x64/consoleFull

19:51:11 not ok 154 parallel/test-benchmark-querystring19:51:11 ---19:51:11 duration_ms: 1.35319:51:11 severity: fail19:51:11 stack: |-19:51:11 19:51:11 querystring/querystring-parse.js19:51:11 /home/iojs/build/workspace/node-test-commit-linux-linked/nodes/ubuntu1604_sharedlibs_fips20_x64/benchmark/common.js:20219:51:11 throw new Error('insufficient clock precision for short benchmark');19:51:11 ^19:51:11 19:51:11 Error: insufficient clock precision for short benchmark19:51:11 at Benchmark.end (/home/iojs/build/workspace/node-test-commit-linux-linked/nodes/ubuntu1604_sharedlibs_fips20_x64/benchmark/common.js:202:13)19:51:11 at main (/home/iojs/build/workspace/node-test-commit-linux-linked/nodes/ubuntu1604_sharedlibs_fips20_x64/benchmark/querystring/querystring-parse.js:33:11)19:51:11 at Benchmark.process.nextTick (/home/iojs/build/workspace/node-test-commit-linux-linked/nodes/ubuntu1604_sharedlibs_fips20_x64/benchmark/common.js:34:28)19:51:11 at process._tickCallback (internal/process/next_tick.js:150:11)19:51:11 at Function.Module.runMain (module.js:703:11)19:51:11 at startup (bootstrap_node.js:195:16)19:51:11 at bootstrap_node.js:646:319:51:11 assert.js:4219:51:11 throw new errors.AssertionError({19:51:11 ^19:51:11 19:51:11 AssertionError [ERR_ASSERTION]: 1 strictEqual 019:51:11 at ChildProcess.child.on (/home/iojs/build/workspace/node-test-commit-linux-linked/nodes/ubuntu1604_sharedlibs_fips20_x64/test/common/benchmark.js:25:12)19:51:11 at ChildProcess.emit (events.js:126:13)19:51:11 at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)19:51:11 ...

@Trott

Trott commented Dec 7, 2017

Copy link
Copy Markdown
MemberAuthor

CI: https://ci.nodejs.org/job/node-test-pull-request/11935/

[UPDATE: It's yellow.]

@refack

Copy link
Copy Markdown
Contributor

Once again you beat me to it...

Trott added a commit to Trott/io.js that referenced this pull request Dec 8, 2017
Allow zero iterations for short benchmark in test.
PR-URL: nodejs#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>
@Trott

Trott commented Dec 8, 2017

Copy link
Copy Markdown
MemberAuthor

Landed in 09e9e2b

@TrottTrott closed this Dec 8, 2017
MylesBorins pushed a commit that referenced this pull request Dec 12, 2017
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>
MylesBorins pushed a commit that referenced this pull request Dec 12, 2017
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>
@MylesBorinsMylesBorins mentioned this pull request Dec 12, 2017
gibfahn pushed a commit that referenced this pull request Dec 20, 2017
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>
@gibfahngibfahn mentioned this pull request Dec 20, 2017
gibfahn pushed a commit that referenced this pull request Dec 20, 2017
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>
@gibfahngibfahn mentioned this pull request Dec 20, 2017
@Trott
Trott deleted the fix-test-bench-querystring branch January 13, 2022 22:48
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

benchmarkIssues and PRs related to the benchmark subsystem.flaky-testIssues and PRs related to the tests with unstable failures on the CI.querystringIssues and PRs related to the built-in querystring module.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@Trott@refack@apapirovski@evanlucas@cjihrig@gibfahn