From 01abb3225659b23cdb7f063173f193484b84a76f Mon Sep 17 00:00:00 2001 From: Jordi Massaguer Pla Date: Wed, 18 Dec 2024 12:42:09 +0000 Subject: [PATCH] TEST Signed-off-by: Jordi Massaguer Pla --- testsuite/features/support/remote_node.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/testsuite/features/support/remote_node.rb b/testsuite/features/support/remote_node.rb index 91227b93d61..9a85b49744a 100644 --- a/testsuite/features/support/remote_node.rb +++ b/testsuite/features/support/remote_node.rb @@ -30,6 +30,7 @@ def initialize(host, port: 22) ssh('rm -f /etc/motd && touch /etc/motd', host: @target) unless @host == 'localhost' out, _err, _code = ssh('echo $HOSTNAME', host: @target) @hostname = out.strip + puts "DEBUG JORDI: hostname: #{@hostname}" raise LoadError, "We can't connect to #{@host} through SSH." if @hostname.empty? $named_nodes[host] = @hostname