Sha256: f3c5eca3f834637e99b63fe995698f25719abafeb8b53b0dc3e8fb2af49e3fc2
Contents?: true
Size: 756 Bytes
Versions: 13
Compression:
Stored size: 756 Bytes
Contents
module HybridPlatformsConductor module HpcPlugins module Test # Test that the hostname is correct class Hostname < HybridPlatformsConductor::Test # Check my_test_plugin.rb.sample documentation for signature details. def test_on_node { # TODO: Access the user correctly when the user notion will be moved out of the ssh connector "#{@deployer.instance_variable_get(:@actions_executor).connector(:ssh).ssh_user == 'root' ? '' : "#{@nodes_handler.sudo_on(@node)} "}hostname -s" => proc do |stdout| assert_equal stdout.first, @node, "Expected hostname to be #{@node}, but got #{stdout.first} instead." end } end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems