-
Notifications
You must be signed in to change notification settings - Fork 38
test: Allow user to specify which transport to use #157
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
Conversation
|
Needed to resolve these conflicts ran |
| transportOptions: { | ||
| database: process.env.TKDB || '*LOCAL', | ||
| username: process.env.TKUSER || '', | ||
| password: process.env.TKPASS || '', |
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.
Why do we have a separate password and passphrase?
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.
passphrase is used by the ssh transport to decrypt the private key. Its provided if the user's private key requires a passphrase.
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.
Oh, right. Might be good to have a comment in there.
|
Will need to fixup conflicts again. |
kadler
left a comment
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.
Tests run so LGTM.
Currently every transport is used to run each functional test.
This PR refactors to use only one transport per test case.
Also allows user to export
TKTRANSPORTenv variable to specify which transport to use.Resolves #153