diff --git a/testsuite/features/support/remote_node.rb b/testsuite/features/support/remote_node.rb index 9a85b49744a..fecf048e3c6 100644 --- a/testsuite/features/support/remote_node.rb +++ b/testsuite/features/support/remote_node.rb @@ -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] 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