Sha256: db842a055d620270a322e10bf81d3e2c6d34ae82184b53a51ba5710c2a520297

Contents?: true

Size: 551 Bytes

Versions: 16

Compression:

Stored size: 551 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
          {
            "#{@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

16 entries across 16 versions & 1 rubygems

Version Path
hybrid_platforms_conductor-32.12.0 lib/hybrid_platforms_conductor/hpc_plugins/test/hostname.rb
hybrid_platforms_conductor-32.11.2 lib/hybrid_platforms_conductor/hpc_plugins/test/hostname.rb
hybrid_platforms_conductor-32.11.1 lib/hybrid_platforms_conductor/hpc_plugins/test/hostname.rb
hybrid_platforms_conductor-32.11.0 lib/hybrid_platforms_conductor/hpc_plugins/test/hostname.rb
hybrid_platforms_conductor-32.10.0 lib/hybrid_platforms_conductor/hpc_plugins/test/hostname.rb
hybrid_platforms_conductor-32.9.1 lib/hybrid_platforms_conductor/hpc_plugins/test/hostname.rb
hybrid_platforms_conductor-32.9.0 lib/hybrid_platforms_conductor/hpc_plugins/test/hostname.rb
hybrid_platforms_conductor-32.8.2 lib/hybrid_platforms_conductor/hpc_plugins/test/hostname.rb
hybrid_platforms_conductor-32.8.1 lib/hybrid_platforms_conductor/hpc_plugins/test/hostname.rb
hybrid_platforms_conductor-32.8.0 lib/hybrid_platforms_conductor/hpc_plugins/test/hostname.rb
hybrid_platforms_conductor-32.7.3 lib/hybrid_platforms_conductor/hpc_plugins/test/hostname.rb
hybrid_platforms_conductor-32.7.2 lib/hybrid_platforms_conductor/hpc_plugins/test/hostname.rb
hybrid_platforms_conductor-32.7.1 lib/hybrid_platforms_conductor/hpc_plugins/test/hostname.rb
hybrid_platforms_conductor-32.7.0 lib/hybrid_platforms_conductor/hpc_plugins/test/hostname.rb
hybrid_platforms_conductor-32.6.0 lib/hybrid_platforms_conductor/hpc_plugins/test/hostname.rb
hybrid_platforms_conductor-32.5.0 lib/hybrid_platforms_conductor/hpc_plugins/test/hostname.rb