GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: remove time check by Trott · Pull Request #4494 · nodejs/node

Conversation

@Trott

@Trott Trott commented Dec 31, 2015

Copy link
Copy Markdown
Member

test-child-process-fork-net2.js checks that things happen within
certain time constraints, thus doubling as a benchmark test in addition
to a functionality test.

This change removes the time check, as it was causing the test to fail
on SmartOS and Windows (and possibly elsewhere) when the tests were
run in parallel on CI. There is no guarantee that other tests won't
consume enough resources to slow this test down, so don't check the time
constraints (beyond the generous timeout that the test is given by
test.py in the first place, of course).

If we want to do benchmark/performance tests, we should keep them
separate from pure functionality tests. The time check may have been a
remnant of the distant past when Node.js was much slower. It predates
io.js

Ref: #4476

R=@jbergstroem ?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Trott
test: remove time check
65f8ef9
test-child-process-fork-net2.js checks that things happen within
certain time constraints, thus doubling as a benchmark test in addition
to a functionality test.

This change removes the time check, as it was causing the test to fail
on SmartOS and Windows (and possibly elsewhere) when the tests were
run in parallel on CI. There is no guarantee that other tests won't
consume enough resources to slow this test down, so don't check the time
constraints (beyond the generous timeout that the test is given by
test.py in the first place, of course).

If we want to do benchmark/performance tests, we should keep them
separate from pure functionality tests. The time check may have been a
remnant of the distant past when Node.js was much slower. It predates
io.js

Ref: nodejs#4476
@Trott Trott added the test Issues and PRs related to Node.js core tests and test infrastructure. label Dec 31, 2015
@Trott

Trott commented Dec 31, 2015

Copy link
Copy Markdown
Member Author

CI: https://ci.nodejs.org/job/node-test-commit/1589/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott Trott mentioned this pull request Dec 31, 2015
test: enable parallel testing in test-ci #4476
Closed
@Trott

Trott commented Dec 31, 2015

Copy link
Copy Markdown
Member Author

One CI infra failure and one unrelated test failure on Raspberry Pi. CI looks good, I think.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jbergstroem

jbergstroem commented Dec 31, 2015

Copy link
Copy Markdown
Member

Can you test on top of -J as well? I'll try to keep that PR rebased and fresh

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott

Trott commented Dec 31, 2015

Copy link
Copy Markdown
Member Author

@jbergstroem OK: https://ci.nodejs.org/job/node-test-commit/1590/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott

Trott commented Dec 31, 2015

Copy link
Copy Markdown
Member Author

@jbergstroem Test is now passing on SmartOS in parallelized CI. A bunch of other unrelated failures still, of course.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mscdex mscdex added the child_process Issues and PRs related to the child_process subsystem. label Dec 31, 2015
@jbergstroem

jbergstroem commented Dec 31, 2015

Copy link
Copy Markdown
Member

@Trott: Smartos looks pretty messed up (still going?!) in the above build. I think the problem might be that -J gets # cores from multiprocessing which in above case would be 48 (its crazy, yes). I think this needs to be controlled through JOBS similar to how we manage gmake.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott

Trott commented Dec 31, 2015

Copy link
Copy Markdown
Member Author

Heh, the test in this PR is run pretty early on in the suite (71st test) so I saw that it passed and didn't look again. That's...impressive...that it's still running....

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jbergstroem jbergstroem mentioned this pull request Dec 31, 2015
test: inherit JOBS from environment #4495
Merged
@jbergstroem

jbergstroem commented Dec 31, 2015

Copy link
Copy Markdown
Member

@Trott when you have a moment, can you rebase on -J again to give it a go? Should zero out parallelism-related issues on SmartOS at least.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cjihrig

cjihrig commented Dec 31, 2015

Copy link
Copy Markdown
Contributor

Code change LGTM FWIW

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott

Trott commented Dec 31, 2015

Copy link
Copy Markdown
Member Author

@jbergstroem OK, here it is again: https://ci.nodejs.org/job/node-test-commit/1595/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cjihrig cjihrig mentioned this pull request Jan 1, 2016
Occasional Build Failure on Master #4506
Closed
@jbergstroem

jbergstroem commented Jan 1, 2016

Copy link
Copy Markdown
Member

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Trott added a commit to Trott/io.js that referenced this pull request Jan 3, 2016
@Trott
test: remove time check
9a6cfce
test-child-process-fork-net2.js checks that things happen within
certain time constraints, thus doubling as a benchmark test in addition
to a functionality test.

This change removes the time check, as it was causing the test to fail
on SmartOS and Windows (and possibly elsewhere) when the tests were
run in parallel on CI. There is no guarantee that other tests won't
consume enough resources to slow this test down, so don't check the time
constraints (beyond the generous timeout that the test is given by
test.py in the first place, of course).

If we want to do benchmark/performance tests, we should keep them
separate from pure functionality tests. The time check may have been a
remnant of the distant past when Node.js was much slower. It predates
io.js

Ref: nodejs#4476
PR-URL: nodejs#4494
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Johan Bergström <[email protected]>
@Trott

Trott commented Jan 3, 2016

Copy link
Copy Markdown
Member Author

Landed in 9a6cfce

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott Trott closed this Jan 3, 2016
@jasnell jasnell added the lts-watch-v4.x label Jan 4, 2016
Fishrock123 pushed a commit to Fishrock123/node that referenced this pull request Jan 6, 2016
@Trott @Fishrock123
test: remove time check
a703b1b
test-child-process-fork-net2.js checks that things happen within
certain time constraints, thus doubling as a benchmark test in addition
to a functionality test.

This change removes the time check, as it was causing the test to fail
on SmartOS and Windows (and possibly elsewhere) when the tests were
run in parallel on CI. There is no guarantee that other tests won't
consume enough resources to slow this test down, so don't check the time
constraints (beyond the generous timeout that the test is given by
test.py in the first place, of course).

If we want to do benchmark/performance tests, we should keep them
separate from pure functionality tests. The time check may have been a
remnant of the distant past when Node.js was much slower. It predates
io.js

Ref: nodejs#4476
PR-URL: nodejs#4494
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Johan Bergström <[email protected]>
@MylesBorins MylesBorins added land-on-v4.x and removed lts-watch-v4.x labels Jan 13, 2016
MylesBorins pushed a commit that referenced this pull request Jan 13, 2016
@Trott Myles Borins
test: remove time check
e71dbda
test-child-process-fork-net2.js checks that things happen within
certain time constraints, thus doubling as a benchmark test in addition
to a functionality test.

This change removes the time check, as it was causing the test to fail
on SmartOS and Windows (and possibly elsewhere) when the tests were
run in parallel on CI. There is no guarantee that other tests won't
consume enough resources to slow this test down, so don't check the time
constraints (beyond the generous timeout that the test is given by
test.py in the first place, of course).

If we want to do benchmark/performance tests, we should keep them
separate from pure functionality tests. The time check may have been a
remnant of the distant past when Node.js was much slower. It predates
io.js

Ref: #4476
PR-URL: #4494
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Johan Bergström <[email protected]>
MylesBorins pushed a commit that referenced this pull request Jan 14, 2016
@Trott Myles Borins
test: remove time check
596438e
test-child-process-fork-net2.js checks that things happen within
certain time constraints, thus doubling as a benchmark test in addition
to a functionality test.

This change removes the time check, as it was causing the test to fail
on SmartOS and Windows (and possibly elsewhere) when the tests were
run in parallel on CI. There is no guarantee that other tests won't
consume enough resources to slow this test down, so don't check the time
constraints (beyond the generous timeout that the test is given by
test.py in the first place, of course).

If we want to do benchmark/performance tests, we should keep them
separate from pure functionality tests. The time check may have been a
remnant of the distant past when Node.js was much slower. It predates
io.js

Ref: #4476
PR-URL: #4494
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Johan Bergström <[email protected]>
MylesBorins pushed a commit that referenced this pull request Jan 19, 2016
@Trott Myles Borins
test: remove time check
7dc90e9
test-child-process-fork-net2.js checks that things happen within
certain time constraints, thus doubling as a benchmark test in addition
to a functionality test.

This change removes the time check, as it was causing the test to fail
on SmartOS and Windows (and possibly elsewhere) when the tests were
run in parallel on CI. There is no guarantee that other tests won't
consume enough resources to slow this test down, so don't check the time
constraints (beyond the generous timeout that the test is given by
test.py in the first place, of course).

If we want to do benchmark/performance tests, we should keep them
separate from pure functionality tests. The time check may have been a
remnant of the distant past when Node.js was much slower. It predates
io.js

Ref: #4476
PR-URL: #4494
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Johan Bergström <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Jan 19, 2016
V4.2.5 proposal #4768
Merged
This was referenced Dec 7, 2023
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#1140
Open
[Snyk] Security upgrade mocha from 6.1.4 to 8.3.0 aliscco/alisco-node#1142
Open
[Snyk] Security upgrade mocha from 6.2.3 to 8.3.0 aliscco/alisco-node#1143
Open
@leonardoadame leonardoadame mentioned this pull request Dec 7, 2023
[Snyk] Security upgrade mocha from 6.2.3 to 8.3.0 leonardoadame/node#562
Open
This was referenced Dec 7, 2023
[Snyk] Security upgrade mocha from 6.2.3 to 8.3.0 aliscco/alisco-node#1144
Open
[Snyk] Security upgrade mocha from 6.2.0 to 8.3.0 aliscco/alisco-node#1145
Open
This was referenced Dec 7, 2023
[Snyk] Security upgrade mocha from 7.1.1 to 8.3.0 leonardoadame/node#563
Open
[Snyk] Security upgrade mocha from 6.2.3 to 8.3.0 leonardoadame/node#566
Open
@baby636 baby636 mentioned this pull request Dec 7, 2023
[Snyk] Security upgrade mocha from 7.2.0 to 8.3.0 baby636/node#120
Open
This was referenced Dec 7, 2023
[Snyk] Security upgrade mocha from 6.2.3 to 8.3.0 aliscco/alisco-node#1147
Open
[Snyk] Security upgrade mocha from 7.2.0 to 8.3.0 aliscco/alisco-node#1148
Open
[Snyk] Security upgrade mocha from 6.2.3 to 8.3.0 aliscco/alisco-node#1149
Open
[Snyk] Security upgrade mocha from 6.2.3 to 8.3.0 aliscco/alisco-node#1150
Open
[Snyk] Security upgrade mocha from 7.2.0 to 8.3.0 aliscco/alisco-node#1151
Open
[Snyk] Security upgrade mocha from 6.2.0 to 8.3.0 aliscco/alisco-node#1152
Open
[Snyk] Security upgrade mocha from 7.2.0 to 8.3.0 aliscco/alisco-node#1153
Open
[Snyk] Security upgrade mocha from 6.2.3 to 8.3.0 aliscco/alisco-node#1154
Open
[Snyk] Security upgrade mocha from 6.2.3 to 8.3.0 aliscco/alisco-node#1155
Open
This was referenced Dec 8, 2023
[Snyk] Fix for 1 vulnerabilities leonardoadame/node#567
Open
[Snyk] Security upgrade mocha from 7.2.0 to 8.3.0 leonardoadame/node#569
Open
@aliscco aliscco mentioned this pull request Dec 8, 2023
[Snyk] Security upgrade mocha from 7.2.0 to 8.3.0 aliscco/alisco-node#1157
Open
This was referenced Dec 8, 2023
[Snyk] Security upgrade mocha from 7.2.0 to 8.3.0 leonardoadame/node#570
Open
[Snyk] Security upgrade mocha from 7.2.0 to 8.3.0 leonardoadame/node#571
Open
@aliscco aliscco mentioned this pull request Dec 8, 2023
[Snyk] Security upgrade mocha from 7.2.0 to 8.3.0 aliscco/alisco-node#1160
Open
@leonardoadame leonardoadame mentioned this pull request Dec 8, 2023
[Snyk] Security upgrade mocha from 6.2.3 to 8.3.0 leonardoadame/node#572
Open
This was referenced Dec 8, 2023
[Snyk] Security upgrade mocha from 7.2.0 to 8.3.0 aliscco/alisco-node#1162
Open
[Snyk] Security upgrade mocha from 6.2.3 to 8.3.0 aliscco/alisco-node#1163
Open
[Snyk] Security upgrade mocha from 6.2.3 to 8.3.0 aliscco/alisco-node#1164
Open
@adamlaska adamlaska mentioned this pull request Dec 8, 2023
[Snyk] Security upgrade mocha from 6.2.3 to 8.3.0 adamlaska/node#134
Open
@leonardoadame leonardoadame mentioned this pull request Dec 8, 2023
[Snyk] Security upgrade mocha from 6.2.3 to 8.3.0 leonardoadame/node#574
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

child_process Issues and PRs related to the child_process subsystem. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@Trott @jbergstroem @cjihrig @mscdex @jasnell @MylesBorins
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.