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

test: fix test-debugger-repl-break-in-module by Trott · Pull Request #6686 · nodejs/node · GitHub

/ node Public

test: fix test-debugger-repl-break-in-module - #6686

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

test: fix test-debugger-repl-break-in-module#6686
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:myles

Conversation

Trott commented May 11, 2016

Copy link
Copy Markdown
Member
Checklist
  • tests and code linting passes
  • the commit message follows commit guidelines
Affected core subsystem(s)

test debugger

Description of change

The line number checks in test-debugger-repl-break-in-module were
checking for line numbers that exceed the total number of lines in the
files that were being inspected. Change the checks to match the actual
files.

Trott added debugger test Issues and PRs related to the tests. labels May 11, 2016

santigimeno commented May 11, 2016
edited
Loading

Copy link
Copy Markdown
Member

Fixes the issue for me. LGTM

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Accidental change?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Yes, accident, I'll fix it...

Copy link
Copy Markdown
Member

Is the plan to eventually move this test to test/parallel or test/sequential?

Trott commented May 11, 2016
edited
Loading

Copy link
Copy Markdown
Member Author

@bnoordhuis I hadn't planned on moving them to sequential or parallel specifically, but just making sure that they get exercised in the test and test-ci tasks. Moving them to sequential is one way to do that, so that works for me. (I think parallel won't work unless we modify all the tests to use a custom port for the debugger.)

The line number checks in test-debugger-repl-break-in-module were
checking for line numbers that exceed the total number of lines in the
files that were being inspected. Change the checks to match the actual
files.

Trott commented May 11, 2016

Copy link
Copy Markdown
Member Author

Rebased, fixed accidental comment change, force pushed.

Copy link
Copy Markdown
Member

LGTM

I think parallel won't work unless we modify all the tests to use a custom port for the debugger.

Agreed.

Trott commented May 13, 2016

Copy link
Copy Markdown
Member Author

Trott commented May 13, 2016

Copy link
Copy Markdown
Member Author

Two failures in CI are a known flaky test and a definitely-unrelated test that may also be flaky.

Just to be cautious, re-running CI: https://ci.nodejs.org/job/node-test-pull-request/2625/

Trott commented May 13, 2016

Copy link
Copy Markdown
Member Author

CI still looks good but with a pair of unrelated failures.

More caution: https://ci.nodejs.org/job/node-test-pull-request/2626/

Trott added a commit to Trott/io.js that referenced this pull request May 13, 2016
The line number checks in test-debugger-repl-break-in-module were
checking for line numbers that exceed the total number of lines in the
files that were being inspected. Change the checks to match the actual
files.

PR-URL: nodejs#6686
Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>

Trott commented May 13, 2016

Copy link
Copy Markdown
Member Author

Green that time. Landed in 9d445bc.

Trott closed this May 13, 2016
evanlucas pushed a commit that referenced this pull request May 17, 2016
The line number checks in test-debugger-repl-break-in-module were
checking for line numbers that exceed the total number of lines in the
files that were being inspected. Change the checks to match the actual
files.

PR-URL: #6686
Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
MylesBorins pushed a commit that referenced this pull request Jun 2, 2016
The line number checks in test-debugger-repl-break-in-module were
checking for line numbers that exceed the total number of lines in the
files that were being inspected. Change the checks to match the actual
files.

PR-URL: #6686
Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
MylesBorins pushed a commit that referenced this pull request Jun 2, 2016
The line number checks in test-debugger-repl-break-in-module were
checking for line numbers that exceed the total number of lines in the
files that were being inspected. Change the checks to match the actual
files.

PR-URL: #6686
Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
MylesBorins mentioned this pull request Jun 24, 2016
MylesBorins pushed a commit that referenced this pull request Jun 24, 2016
The line number checks in test-debugger-repl-break-in-module were
checking for line numbers that exceed the total number of lines in the
files that were being inspected. Change the checks to match the actual
files.

PR-URL: #6686
Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
MylesBorins pushed a commit that referenced this pull request Jun 24, 2016
The line number checks in test-debugger-repl-break-in-module were
checking for line numbers that exceed the total number of lines in the
files that were being inspected. Change the checks to match the actual
files.

PR-URL: #6686
Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Trott deleted the myles branch January 13, 2022 22:43
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL