Skip to content
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

support ssh timeout #311

Merged
merged 2 commits into from May 26, 2022

Conversation

stan-is-hate
Copy link
Member

Add support to the connecttimeout param (see https://linux.die.net/man/5/ssh_config) in RemoteAccount ssh configuration, and use that value when creating ssh client.
Primary use is to speed up our ssh checker test. Mocking ssh client for the checker is possible, but why not expose an extra configuration parameter?
This, however, means that any clusters loaded from json or vagrant will respect connecttimeout parameter, hence I'd like to test it with real jenkins jobs before merging. This is also why I don't want to target 0.7.x with this change, maybe would be a good idea to bump this to 0.9?

@stan-is-hate stan-is-hate requested a review from a team May 12, 2022 22:41
Copy link
Member

@imcdo imcdo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks stan

@stan-is-hate stan-is-hate changed the base branch from 0.8.x to master May 26, 2022 02:26
@stan-is-hate
Copy link
Member Author

I'm merging it into master and will release as part of 0.9.x, so that if it does cause issues (which is unlikely, but still), people can still use 0.8.x branch.

@stan-is-hate stan-is-hate merged commit 0ca643b into confluentinc:master May 26, 2022
gousteris pushed a commit to gousteris/ducktape that referenced this pull request Aug 30, 2023
gousteris pushed a commit to gousteris/ducktape that referenced this pull request Aug 30, 2023
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.

None yet

2 participants