Sha256: 7415beac3b35106b59726e448f99a0bd9bbd5f706aefeae69fd9755f9d3ca75d
Contents?: true
Size: 634 Bytes
Versions: 3
Compression:
Stored size: 634 Bytes
Contents
module HybridPlatformsConductor # Ancestor for all tests that should be run just on remote nodes class TestOnlyRemoteNode < Test # Limit the list of nodes for these tests. # # Result:: # * Array<String or Regex> or nil: List of nodes allowed for this test, or nil for all. Regular expressions matching node names can also be used. def self.only_on_nodes # Just 1 node per service and platform Test.nodes_handler.prefetch_metadata_of Test.nodes_handler.known_nodes, :local_node Test.nodes_handler.known_nodes.select { |node| !Test.nodes_handler.get_local_node_of(node) } end end end
Version data entries
3 entries across 3 versions & 1 rubygems