Method: ActiveSupport::Testing::Parallelization::Server#record
- Defined in:
- activesupport/lib/active_support/testing/parallelization/server.rb
#record(reporter, result) ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'activesupport/lib/active_support/testing/parallelization/server.rb', line 18 def record(reporter, result) raise DRb::DRbConnError if result.is_a?(DRb::DRbUnknown) @in_flight.delete([result.klass, result.name]) reporter.synchronize do reporter.record(result) end end |