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

#initialize, #test_dir, #test_suite

Constructor Details

This class inherits a constructor from KnapsackPro::BaseAllocatorBuilder

Instance Method Details

#allocatorObject



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

def allocator
  KnapsackPro::QueueAllocator.new(
    test_suite: test_suite,
    ci_node_total: env.ci_node_total,
    ci_node_index: env.ci_node_index,
    repository_adapter: repository_adapter
  )
end