Class: KnapsackPro::QueueAllocatorBuilder

Inherits:
BaseAllocatorBuilder show all
Defined in:
lib/knapsack_pro/queue_allocator_builder.rb

Constant Summary

Constants inherited from BaseAllocatorBuilder

BaseAllocatorBuilder::TEST_RUNNER_MAP

Instance Method Summary collapse

Methods inherited from BaseAllocatorBuilder

#fallback_mode_test_files, #fast_and_slow_test_files_to_run, #initialize, #test_dir

Constructor Details

This class inherits a constructor from KnapsackPro::BaseAllocatorBuilder

Instance Method Details

#allocatorObject



5
6
7
8
9
10
11
12
13
14
# File 'lib/knapsack_pro/queue_allocator_builder.rb', line 5

def allocator
  KnapsackPro::QueueAllocator.new(
    fast_and_slow_test_files_to_run: fast_and_slow_test_files_to_run,
    fallback_mode_test_files: fallback_mode_test_files,
    ci_node_total: env.ci_node_total,
    ci_node_index: env.ci_node_index,
    ci_node_build_id: env.ci_node_build_id,
    repository_adapter: repository_adapter,
  )
end