Sha256: a9fab4b6587d56b030963caef0fc4eb0e4d6e3710491cce4c2eaa76e95ceafc8
Contents?: true
Size: 633 Bytes
Versions: 31
Compression:
Stored size: 633 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.reject { |node| Test.nodes_handler.get_local_node_of(node) } end end end
Version data entries
31 entries across 31 versions & 1 rubygems