Class: HybridPlatformsConductor::HpcPlugins::Test::CanBeChecked
- Defined in:
- lib/hybrid_platforms_conductor/hpc_plugins/test/can_be_checked.rb
Overview
Test that the node can be checked without error
Constant Summary
Constants included from LoggerHelpers
LoggerHelpers::LEVELS_MODIFIERS, LoggerHelpers::LEVELS_TO_STDERR
Instance Attribute Summary
Attributes inherited from Test
#errors, #expected_failure, #name, #node, #platform
Instance Method Summary collapse
-
#test_on_check_node(stdout, stderr, exit_status) ⇒ Object
Check my_test_plugin.rb.sample documentation for signature details.
Methods inherited from Test
#assert_equal, #assert_match, #error, #executed, #executed?, #initialize, only_on_nodes, only_on_platforms, #to_s
Methods inherited from Plugin
extend_config_dsl_with, #initialize, valid?
Methods included from LoggerHelpers
#err, #init_loggers, #log_component=, #log_debug?, #log_level=, #out, #section, #set_loggers_format, #stderr_device, #stderr_device=, #stderr_displayed?, #stdout_device, #stdout_device=, #stdout_displayed?, #stdouts_to_s, #with_progress_bar
Constructor Details
This class inherits a constructor from HybridPlatformsConductor::Test
Instance Method Details
#test_on_check_node(stdout, stderr, exit_status) ⇒ Object
Check my_test_plugin.rb.sample documentation for signature details.
11 12 13 |
# File 'lib/hybrid_platforms_conductor/hpc_plugins/test/can_be_checked.rb', line 11 def test_on_check_node(stdout, stderr, exit_status) assert_equal exit_status, 0, "Check-node run returned error #{exit_status}#{log_debug? ? ":\n===== STDOUT =====\n#{stdout}===== STDERR =====#{stderr}" : ''}" end |