Test https agent disable session#15901
Test https agent disable session#15901irynagrom wants to merge 1 commit intonodejs:masterfrom irynagrom:test-https-agent-disable-session
Conversation
There was a problem hiding this comment.
We also can use fixtures.readFixtureKey.
+ key: fixtures.readFixtureKey('agent1-key.pem'),
- key: fixtures.readSync('/keys/agent1-key.pem'),There was a problem hiding this comment.
in the fixtures.js the readFixturesKey is exported as readKey. I have updated the branch
There was a problem hiding this comment.
The keys directory should not be used anymore. You only need the filename.
There was a problem hiding this comment.
These are also using two different methods... it should be:
key: fixtures.readKey('agent1-key.pem'),
cert: fixtures.readKey('agent1-cert.pem')There was a problem hiding this comment.
oops! didn't see that @joyeecheung had already pointed that out below :-)
There was a problem hiding this comment.
Can you change these to:
key: fixtures.readKey('agent1-key.pem'),
cert: fixtures.readKey('agent1-cert.pem'),
?
cjihrig
left a comment
There was a problem hiding this comment.
LGTM once @joyeecheung's nit is addressed.
|
Ping @irynaricker |
|
Hi @irynaricker, it looks like a few tiny changes are required to land this pull request. Would you still be interested in getting this done? Let me know if any pointers are needed, and thanks for helping us improve Node! |
Replace usage of common.fixturesDir with fixtures module.
|
I went ahead and fixed the last few nits. Hope that's OK. PTAL. This should be good to go. CI: https://ci.nodejs.org/job/node-test-pull-request/11059/ @irynaricker If you have any feedback on what we could or should have done differently to make this go smoother for you, I would love to hear it. (My email is in my GitHub profile.) If this was just a case of "got busy" or "lost interest", then cool. But if it was a case of "got frustrated", it would be helpful for me to know that. |
Replace usage of common.fixturesDir with fixtures module in test-https-agent-disable-session-reuse.js. PR-URL: nodejs#15901 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
|
Landed in 1906df1. Thanks for the contribution! 🎉 |
|
@irynaricker The email address you used to commit the changes does not match your GitHub email address, so the commit cannot be associated with your account. Please add the email address you used to commit the changes to your account in the GitHub settings if you would like this change to be linked to your profile. |
Replace usage of common.fixturesDir with fixtures module in test-https-agent-disable-session-reuse.js. PR-URL: #15901 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Replace usage of common.fixturesDir with fixtures module in test-https-agent-disable-session-reuse.js. PR-URL: #15901 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Replace usage of common.fixturesDir with fixtures module in test-https-agent-disable-session-reuse.js. PR-URL: #15901 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Replace usage of common.fixturesDir with fixtures module in test-https-agent-disable-session-reuse.js. PR-URL: nodejs/node#15901 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Replace usage of common.fixturesDir with fixtures module in test-https-agent-disable-session-reuse.js. PR-URL: nodejs/node#15901 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Replace usage of common.fixturesDir with fixtures module in test-https-agent-disable-session-reuse.js. PR-URL: #15901 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Replace usage of common.fixturesDir with fixtures module in test-https-agent-disable-session-reuse.js. PR-URL: #15901 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Replace usage of common.fixturesDir with fixtures module in test-https-agent-disable-session-reuse.js. PR-URL: #15901 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Replace usage of common.fixturesDir with fixtures module in test-https-agent-disable-session-reuse.js. PR-URL: nodejs/node#15901 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)