Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
Signed-off-by: Jordi Massaguer Pla <[email protected]>
  • Loading branch information
jordimassaguerpla committed Dec 18, 2024
1 parent 01abb32 commit d7d04fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions testsuite/features/support/remote_node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ def scp_download(remote_path, local_path, host: @full_hostname)
# @param verbose [Boolean] Whether to log the output of the command in case of success.
# @return [Array<String, String, Integer>] The output, error, and exit code.
def run(cmd, runs_in_container: true, separated_results: false, check_errors: true, timeout: DEFAULT_TIMEOUT, successcodes: [0], buffer_size: 65_536, verbose: false)
puts "DEBUG!!!!!"
puts "has mgrctl" if @has_mgrctl
puts "NO mgrctl" unless @has_mgrctl
cmd_prefixed = @has_mgrctl && runs_in_container ? "mgrctl exec -i '#{cmd.gsub('\'', '\'"\'"\'')}'" : cmd
run_local(cmd_prefixed, separated_results: separated_results, check_errors: check_errors, timeout: timeout, successcodes: successcodes, buffer_size: buffer_size, verbose: verbose)
end
Expand Down

0 comments on commit d7d04fa

Please sign in to comment.