class RoundRobinDistributor
Ruby on Rails edge
Since edgeRound-robin distributor - tests are assigned to workers as they arrive.
Tests arrive already shuffled by Minitest based on the seed. Since the arrival order is deterministic for a given seed, round-robin assignment produces reproducible test-to-worker distribution.
This is much simpler than buffering and re-shuffling: tests can start executing immediately as they arrive, and we avoid complex synchronization.
Inherits from
Constants
Methods (defined here)
Private methods (4)
Show private methods Implementation detail — not part of the public API.
- # exhausted?
- # next_job
- # pop_now
- # wait
Used by
Subclasses (1)
Methods (inherited)
From ActiveSupport::Testing::Parallelization::TestDistributor
(5)
From Object
(17)
- # acts_like?
- # blank?
- # deep_dup
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # presence_in
- # present?
- # to_param
- # to_query
- # try
- # try!
- # with
- # with_options
From ActiveSupport::NumericWithFormat
(2)
- # to_formatted_s
- # to_fs