instance method take

Ruby on Rails edge

Since edge

Signature

take(worker_id:)

Retrieve the next test for a specific worker. @param worker_id [Integer] The worker requesting work @return [Array, nil] Test tuple or nil if no work available

Parameters

worker_id keyreq
Source
# File activesupport/lib/active_support/testing/parallelization/test_distributor.rb, line 18
        def take(worker_id:)
          raise NotImplementedError
        end

Defined in activesupport/lib/active_support/testing/parallelization/test_distributor.rb line 18 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Testing::Parallelization::TestDistributor

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