FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: mitigate flaky test-debug-no-context by Trott · Pull Request #5269 · nodejs/node · GitHub

/ node Public

test: mitigate flaky test-debug-no-context - #5269

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:no-context
Closed

test: mitigate flaky test-debug-no-context#5269
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:no-context

Conversation

Trott commented Feb 17, 2016

Copy link
Copy Markdown
Member

Change test so that it passes on the occasional win10 access violation.

The workaround here can be undone when issue 5268 is resolved.

The test still detects the defect it was written to detect. There are
two assertions that detect the defect and only one was disabled.

Ref: #5268
Fixes: #4343

/cc @bnoordhuis

Change test so that it passes on the occasional win10 access violation.

The workaround here can be undone when issue 5268 is resolved.

The test still detects the defect it was written to detect. There are
two assertions that detect the defect and only one was disabled.

Ref: nodejs#5268
Fixes: nodejs#4343
Trott added debugger windows Issues and PRs related to the Windows platform. test Issues and PRs related to the tests. labels Feb 17, 2016

Trott commented Feb 17, 2016

Copy link
Copy Markdown
Member Author

Stress test showing current version of test is flaky on win10: 15 failures in 100 runs

Stress test showing the version in this PR is not flaky on win10: 0 failures in 100 runs

Output showing the version in this PR fails as expected with Node.js 5.3.0:

$ nvm use 5.3
Now using node v5.3.0
$ node -v
v5.3.0
$ node test/parallel/test-debug-no-context.js 

assert.js:89
  throw new assert.AssertionError({
  ^
AssertionError: 'SIGSEGV' === null
    at ChildProcess.<anonymous> (/Users/trott/io.js/test/parallel/test-debug-no-context.js:18:10)
    at ChildProcess.<anonymous> (/Users/trott/io.js/test/common.js:382:15)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
$ 

Output showing the version in this PR passes as expected with Node.js 5.4.0:

$ nvm use 5.4.0
Now using node v5.4.0
$ node -v
v5.4.0
$ node test/parallel/test-debug-no-context.js 
$

Trott commented Feb 17, 2016

Copy link
Copy Markdown
Member Author

jasnell commented Feb 17, 2016

Copy link
Copy Markdown
Member

LGTM
@Trott: I assume this is not relevant for v4? If not, can you add the don't land label? :-)

Trott commented Feb 17, 2016

Copy link
Copy Markdown
Member Author

@jasnell Actually, it is relevant. My mistake not labeling it. I've added lts-watch-4.x label.

jasnell commented Feb 17, 2016

Copy link
Copy Markdown
Member

Thank you! :-)

Trott added a commit to Trott/io.js that referenced this pull request Feb 19, 2016
Change test so that it passes on the occasional win10 access violation.

The workaround here can be undone when issue 5268 is resolved.

The test still detects the defect it was written to detect. There are
two assertions that detect the defect and only one was disabled.

Ref: nodejs#5268
Fixes: nodejs#4343
PR-URL: nodejs#5269
Reviewed-By: James M Snell <jasnell@gmail.com>

Trott commented Feb 19, 2016

Copy link
Copy Markdown
Member Author

Landed in c4b5a45

Trott closed this Feb 19, 2016
Trott added a commit to Trott/io.js that referenced this pull request Feb 19, 2016
test-debug-no-context flakiness was worked around in issue 5269 but the
flaky designation was left for the test. This change removes it.

Refs: nodejs#5269
jasnell pushed a commit that referenced this pull request Feb 19, 2016
test-debug-no-context flakiness was worked around in issue 5269 but the
flaky designation was left for the test. This change removes it.

Refs: #5269
PR-URL: #5317
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
rvagg pushed a commit that referenced this pull request Feb 21, 2016
Change test so that it passes on the occasional win10 access violation.

The workaround here can be undone when issue 5268 is resolved.

The test still detects the defect it was written to detect. There are
two assertions that detect the defect and only one was disabled.

Ref: #5268
Fixes: #4343
PR-URL: #5269
Reviewed-By: James M Snell <jasnell@gmail.com>
rvagg pushed a commit that referenced this pull request Feb 21, 2016
test-debug-no-context flakiness was worked around in issue 5269 but the
flaky designation was left for the test. This change removes it.

Refs: #5269
PR-URL: #5317
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Mar 1, 2016
Change test so that it passes on the occasional win10 access violation.

The workaround here can be undone when issue 5268 is resolved.

The test still detects the defect it was written to detect. There are
two assertions that detect the defect and only one was disabled.

Ref: #5268
Fixes: #4343
PR-URL: #5269
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Mar 1, 2016
test-debug-no-context flakiness was worked around in issue 5269 but the
flaky designation was left for the test. This change removes it.

Refs: #5269
PR-URL: #5317
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Mar 1, 2016
Change test so that it passes on the occasional win10 access violation.

The workaround here can be undone when issue 5268 is resolved.

The test still detects the defect it was written to detect. There are
two assertions that detect the defect and only one was disabled.

Ref: #5268
Fixes: #4343
PR-URL: #5269
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Mar 1, 2016
test-debug-no-context flakiness was worked around in issue 5269 but the
flaky designation was left for the test. This change removes it.

Refs: #5269
PR-URL: #5317
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Mar 2, 2016
Change test so that it passes on the occasional win10 access violation.

The workaround here can be undone when issue 5268 is resolved.

The test still detects the defect it was written to detect. There are
two assertions that detect the defect and only one was disabled.

Ref: #5268
Fixes: #4343
PR-URL: #5269
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Mar 2, 2016
test-debug-no-context flakiness was worked around in issue 5269 but the
flaky designation was left for the test. This change removes it.

Refs: #5269
PR-URL: #5317
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Trott deleted the no-context branch January 13, 2022 22:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Issues and PRs related to the tests. windows Issues and PRs related to the Windows platform.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test-debug-no-context segfaulting

3 participants


Back | FazBrowse Home | New Git URL