class RoundRobinDistributor

Ruby on Rails edge

Since edge

Round-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

ActiveSupport::Testing::Parallelization::TestDistributor

Constants

Methods (defined here)

Private methods (4)

Show private methods Implementation detail — not part of the public API.

Used by

Subclasses (1)

Methods (inherited)

From ActiveSupport::Testing::Parallelization::TestDistributor (5)
From Object (17)
From ActiveSupport::NumericWithFormat (2)

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close