Methods
- #
- A
- I
- N
- P
- R
- S
Included Modules
- DRb::DRbUndumped
Class Public methods
new() Link
Instance Public methods
<<(o) Link
active_workers?() Link
interrupt() Link
pop() Link
record(reporter, result) Link
shutdown() Link
# File activesupport/lib/active_support/testing/parallelization/server.rb, line 56 def shutdown # Wait for initial queue to drain while @queue.length != 0 sleep 0.1 end @queue.close # Wait until all workers have finished while active_workers? sleep 0.1 end @in_flight.values.each do |(klass, name, reporter)| result = Minitest::Result.from(klass.new(name)) error = RuntimeError.new("result not reported") error.set_backtrace([""]) result.failures << Minitest::UnexpectedError.new(error) reporter.synchronize do reporter.record(result) end end end