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

Replace common.fixtiresDir with readFixtureKey by wsierakowski · Pull Request #16817 · nodejs/node · GitHub

/ node Public

Replace common.fixtiresDir with readFixtureKey - #16817

Closed
wsierakowski wants to merge 1 commit into
nodejs:masterfrom
wsierakowski:master
Closed

Replace common.fixtiresDir with readFixtureKey#16817
wsierakowski wants to merge 1 commit into
nodejs:masterfrom
wsierakowski:master

Conversation

Copy link
Copy Markdown
Contributor

Replaced common.fixturesDir with the readFixtureKey from the fixtures module.

nodejs-github-bot added the test Issues and PRs related to the tests. label Nov 6, 2017

mscdex commented Nov 6, 2017

Copy link
Copy Markdown
Contributor

Typo in commit message and unnecessary merge commit.

mscdex added the tls Issues and PRs related to the tls subsystem. label Nov 6, 2017
gireeshpunathil added the code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. label Nov 6, 2017
Comment thread test/parallel/test-tls-js-stream.js Outdated

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

these can be:

key: fixtures.readSync('agent1-key.pem'),
cert: fixtures.readSync('agent1-cert.pem')

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

@gireeshpunathil (and for @wsierakowski's benefit too): I think you mean readKey() rather than readSync(). (Aside: API should have probably been readKeySync() rather than readKey() but whatever. :-D )

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

@Trott - yes, thanks for the correction!

Trott left a comment

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

Hi, @wsierakowski! Welcome and thank you for the PR! readFixtureKey() is not a function in fixtures. This test with this change will not run. Can you change that function name to readKey() instead? You can run the test from the command line with tools/test.py test/parallel/test-tls-js-stream.js to make sure it works. After commiting the change to your branch, pushing it to your GitHub repo will update this PR with the new code.

(You don't need to worry about removing the merge commit mentioned by mscdex because we will squash that out when landing your code. But if you get rid of it, that's fine too.)

Trott left a comment

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

I went ahead and made the requested changes myself. Hope that's OK.

Trott commented Nov 8, 2017

Copy link
Copy Markdown
Member

Trott pushed a commit to Trott/io.js that referenced this pull request Nov 8, 2017
Use fixtures module in test/parallel/test-tls-js-stream.js.

PR-URL: nodejs#16817
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>

Trott commented Nov 8, 2017

Copy link
Copy Markdown
Member

Landed in fa8aee8.
Thanks for the contribution! 🎉

Trott closed this Nov 8, 2017

wsierakowski commented Nov 8, 2017
edited
Loading

Copy link
Copy Markdown
Contributor Author

Thanks for fixing this @Trott, sorry for not doing this earlier by myself, I got too involved with conference-related activities in the meantime :)

evanlucas pushed a commit that referenced this pull request Nov 13, 2017
Use fixtures module in test/parallel/test-tls-js-stream.js.

PR-URL: #16817
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
evanlucas mentioned this pull request Nov 13, 2017
MylesBorins pushed a commit that referenced this pull request Nov 17, 2017
Use fixtures module in test/parallel/test-tls-js-stream.js.

PR-URL: #16817
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Nov 17, 2017
Use fixtures module in test/parallel/test-tls-js-stream.js.

PR-URL: #16817
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
gibfahn mentioned this pull request Nov 21, 2017
MylesBorins mentioned this pull request Nov 21, 2017
MylesBorins pushed a commit that referenced this pull request Nov 21, 2017
Use fixtures module in test/parallel/test-tls-js-stream.js.

PR-URL: #16817
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Nov 28, 2017
Use fixtures module in test/parallel/test-tls-js-stream.js.

PR-URL: #16817
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
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

code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. test Issues and PRs related to the tests. tls Issues and PRs related to the tls subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants


Back | FazBrowse Home | New Git URL