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

Use ssh gateway only if cct is run outside of admin node #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vmoravec
Copy link

Thanks to @bmwiedemann for pointing at the overhead with accessing the control_node through ssh-gateway even when the testsuite is run on admin node. This change makes cct to run faster and easier to debug in CI/mkcloud. Using gateway is still available if cct is run outside of admin node.
Will be backported to cloud6 branches.

@@ -173,9 +171,10 @@ def detect_timeout opts={}
timeout.to_i
end

def validate_options
def validate_options *options_to_skip

Choose a reason for hiding this comment

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

Style/MethodDefParentheses: Use def with parentheses when there are parameters. (https://github.com/bbatsov/ruby-style-guide#method-parens)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants