Skip to content

Commit

Permalink
TEST
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 8798f07 commit 01abb32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testsuite/features/support/remote_node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 01abb32

Please sign in to comment.