Skip to content

Conversation

@abmusse
Copy link
Member

@abmusse abmusse commented Mar 16, 2020

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 TKTRANSPORT env variable to specify which transport to use.

Resolves #153

@abmusse abmusse requested a review from kadler March 16, 2020 23:56
@abmusse
Copy link
Member Author

abmusse commented Mar 20, 2020

Needed to resolve these conflicts ran git pull --rebase upstream master .

transportOptions: {
database: process.env.TKDB || '*LOCAL',
username: process.env.TKUSER || '',
password: process.env.TKPASS || '',
Copy link
Member

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?

Copy link
Member Author

@abmusse abmusse Mar 25, 2020

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.

Copy link
Member

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.

@abmusse
Copy link
Member Author

abmusse commented Mar 27, 2020

Will need to fixup conflicts again.

@abmusse abmusse requested a review from kadler March 27, 2020 18:13
Copy link
Member

@kadler kadler left a 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.

@kadler kadler merged commit 3f58723 into IBM:master Mar 27, 2020
@abmusse abmusse mentioned this pull request Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: Allow user to specify which transport to use with functional tests

2 participants