Skip to content

test: move test-http-keepalive-maxsockets to sequential - #16777

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:4
Closed

test: move test-http-keepalive-maxsockets to sequential#16777
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:4

Conversation

@Trott

@TrottTrott commented Nov 5, 2017

Copy link
Copy Markdown
Member

test-http-keepalive-maxsockets.js will fail if sufficient copies are run
at once. Move to sequential.

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

test http

test-http-keepalive-maxsockets.js will fail if sufficient copies are run
at once. Move to sequential.
@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Nov 5, 2017
@mscdexmscdex added the http Issues or PRs related to the http subsystem. label Nov 5, 2017
@mscdex

mscdex commented Nov 5, 2017

Copy link
Copy Markdown
Contributor

Why does it fail? It's not using a shared port? If it's the setTimeout(), perhaps we should be using the platform timeout variable there?

@Trott

Trott commented Nov 5, 2017

Copy link
Copy Markdown
MemberAuthor

Why does it fail?

=== release test-http-keepalive-maxsockets === Path: parallel/test-http-keepalive-maxsocketsassert.js:42 throw new errors.AssertionError({ ^AssertionError [ERR_ASSERTION]: 1 === 2 at Timeout._onTimeout (/Users/trott/io.js/test/parallel/test-http-keepalive-maxsockets.js:54:14) at ontimeout (timers.js:478:11) at tryOnTimeout (timers.js:302:5) at Timer.listOnTimeout (timers.js:262:5)Command: out/Release/node /Users/trott/io.js/test/parallel/test-http-keepalive-maxsockets.js[00:06|% 100|+ 31|- 1]: Done 
$ tools/test.py -j 32 --repeat 32 test/parallel/test-http-keepalive-maxsockets.js === release test-http-keepalive-maxsockets === Path: parallel/test-http-keepalive-maxsocketsassert.js:42 throw new errors.AssertionError({ ^AssertionError [ERR_ASSERTION]: 0 === 2 at Timeout._onTimeout (/Users/trott/io.js/test/parallel/test-http-keepalive-maxsockets.js:46:12) at ontimeout (timers.js:478:11) at tryOnTimeout (timers.js:302:5) at Timer.listOnTimeout (timers.js:262:5)Command: out/Release/node /Users/trott/io.js/test/parallel/test-http-keepalive-maxsockets.js=== release test-http-keepalive-maxsockets === Path: parallel/test-http-keepalive-maxsocketsassert.js:42 throw new errors.AssertionError({ ^AssertionError [ERR_ASSERTION]: 1 === 2 at Timeout._onTimeout (/Users/trott/io.js/test/parallel/test-http-keepalive-maxsockets.js:46:12) at ontimeout (timers.js:478:11) at tryOnTimeout (timers.js:302:5) at Timer.listOnTimeout (timers.js:262:5)Command: out/Release/node /Users/trott/io.js/test/parallel/test-http-keepalive-maxsockets.js=== release test-http-keepalive-maxsockets === Path: parallel/test-http-keepalive-maxsocketsassert.js:42 throw new errors.AssertionError({ ^AssertionError [ERR_ASSERTION]: 0 === 2 at Timeout._onTimeout (/Users/trott/io.js/test/parallel/test-http-keepalive-maxsockets.js:46:12) at ontimeout (timers.js:478:11) at tryOnTimeout (timers.js:302:5) at Timer.listOnTimeout (timers.js:262:5)Command: out/Release/node /Users/trott/io.js/test/parallel/test-http-keepalive-maxsockets.js=== release test-http-keepalive-maxsockets === Path: parallel/test-http-keepalive-maxsocketsassert.js:42 throw new errors.AssertionError({ ^AssertionError [ERR_ASSERTION]: 1 === 2 at Timeout._onTimeout (/Users/trott/io.js/test/parallel/test-http-keepalive-maxsockets.js:54:14) at ontimeout (timers.js:478:11) at tryOnTimeout (timers.js:302:5) at Timer.listOnTimeout (timers.js:262:5)Command: out/Release/node /Users/trott/io.js/test/parallel/test-http-keepalive-maxsockets.js=== release test-http-keepalive-maxsockets === Path: parallel/test-http-keepalive-maxsocketsassert.js:42 throw new errors.AssertionError({ ^AssertionError [ERR_ASSERTION]: 0 === 2 at Timeout._onTimeout (/Users/trott/io.js/test/parallel/test-http-keepalive-maxsockets.js:46:12) at ontimeout (timers.js:478:11) at tryOnTimeout (timers.js:302:5) at Timer.listOnTimeout (timers.js:262:5)Command: out/Release/node /Users/trott/io.js/test/parallel/test-http-keepalive-maxsockets.js=== release test-http-keepalive-maxsockets === Path: parallel/test-http-keepalive-maxsocketsassert.js:42 throw new errors.AssertionError({ ^AssertionError [ERR_ASSERTION]: 1 === 2 at Timeout._onTimeout (/Users/trott/io.js/test/parallel/test-http-keepalive-maxsockets.js:54:14) at ontimeout (timers.js:478:11) at tryOnTimeout (timers.js:302:5) at Timer.listOnTimeout (timers.js:262:5)Command: out/Release/node /Users/trott/io.js/test/parallel/test-http-keepalive-maxsockets.js[00:06|% 100|+ 26|- 6]: Done 
$

perhaps we should be using the platform timeout variable there?

IMO anything that needs platformTimeout() should probably be in sequential anyway. (And anything in sequential should be refactored to not have race conditions if possible, of course.)

@Trott

Trott commented Nov 7, 2017

Copy link
Copy Markdown
MemberAuthor

Trott added a commit to Trott/io.js that referenced this pull request Nov 7, 2017
test-http-keepalive-maxsockets.js will fail if sufficient copies are run
at once. Move to sequential.
PR-URL: nodejs#16777
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@Trott

Trott commented Nov 7, 2017

Copy link
Copy Markdown
MemberAuthor

Landed in 6af68d0

@TrottTrott closed this Nov 7, 2017
evanlucas pushed a commit that referenced this pull request Nov 13, 2017
test-http-keepalive-maxsockets.js will fail if sufficient copies are run
at once. Move to sequential.
PR-URL: #16777
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@evanlucasevanlucas mentioned this pull request Nov 13, 2017
MylesBorins pushed a commit that referenced this pull request Nov 17, 2017
test-http-keepalive-maxsockets.js will fail if sufficient copies are run
at once. Move to sequential.
PR-URL: #16777
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Nov 17, 2017
test-http-keepalive-maxsockets.js will fail if sufficient copies are run
at once. Move to sequential.
PR-URL: #16777
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@gibfahngibfahn mentioned this pull request Nov 21, 2017
@MylesBorinsMylesBorins mentioned this pull request Nov 21, 2017
MylesBorins pushed a commit that referenced this pull request Nov 21, 2017
test-http-keepalive-maxsockets.js will fail if sufficient copies are run
at once. Move to sequential.
PR-URL: #16777
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Nov 28, 2017
test-http-keepalive-maxsockets.js will fail if sufficient copies are run
at once. Move to sequential.
PR-URL: #16777
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@Trott
Trott deleted the 4 branch November 26, 2021 07:46
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

httpIssues or PRs related to the http subsystem.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@Trott@mscdex@apapirovski@refack@jasnell@cjihrig@hiroppy@gireeshpunathil@MylesBorins@nodejs-github-bot