-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: using common.fixtures.fixturesDir in test-https-timeout-server.js #15871
Conversation
Hi, @nicolasnoble! Welcome and thank you for this! Can you update it to use |
key: fs.readFileSync(`${common.fixturesDir}/keys/agent1-key.pem`), | ||
cert: fs.readFileSync(`${common.fixturesDir}/keys/agent1-cert.pem`), | ||
key: fs.readFileSync(`${fixtures.fixturesDir}/keys/agent1-key.pem`), | ||
cert: fs.readFileSync(`${fixtures.fixturesDir}/keys/agent1-cert.pem`), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these can be:
key: fixtures.readKey('agent1-key.pem'),
cert: fixtures.readKey('agent1-cert.pem')
Ping @nicolasnoble |
1 similar comment
Ping @nicolasnoble |
Replace `common.fixturesDir` usage in test-https-timeout-server.js with `fixtures.readKey()`.
6997976
to
6c2e23f
Compare
Nits fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI failures unrelated and good to land, but wait for a couple of LGTMs
Landed in cfea677 , thanks for the contribution! |
Replace `common.fixturesDir` usage in test-https-timeout-server.js with `fixtures.readKey()`. PR-URL: #15871 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Replace `common.fixturesDir` usage in test-https-timeout-server.js with `fixtures.readKey()`. PR-URL: nodejs/node#15871 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Replace `common.fixturesDir` usage in test-https-timeout-server.js with `fixtures.readKey()`. PR-URL: #15871 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Replace `common.fixturesDir` usage in test-https-timeout-server.js with `fixtures.readKey()`. PR-URL: #15871 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Replace `common.fixturesDir` usage in test-https-timeout-server.js with `fixtures.readKey()`. PR-URL: #15871 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Replace `common.fixturesDir` usage in test-https-timeout-server.js with `fixtures.readKey()`. PR-URL: nodejs/node#15871 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
make -j4 test
(UNIX), orvcbuild test
(Windows) passes