Sha256: cfd3830b69974902243ca2ea0d67e31f1e7b0eea3bf2a677bec15f8fff7bdd51
Contents?: true
Size: 760 Bytes
Versions: 4
Compression:
Stored size: 760 Bytes
Contents
module Knapsack module Distributors class LeftoverDistributor < BaseDistributor def report_specs @report_specs ||= report.keys end def leftover_specs @leftover_specs ||= all_specs - report_specs end private def post_assign_spec_files_to_node leftover_specs.each do |spec_file| node_specs[@node_index] << spec_file update_node_index end end def post_specs_for_node(node_index) spec_files = node_specs[node_index] return unless spec_files spec_files end def default_node_specs @node_specs = [] ci_node_total.times do |index| @node_specs[index] = [] end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems