File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
lib/active_support/testing/parallelization Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change
1
+ * Print test names when running ` rails test -v ` for parallel tests.
2
+
3
+ * John Hawthorn* , * Abeid Ahmed*
4
+
1
5
* Deprecate ` Benchmark.ms ` core extension.
2
6
3
7
The ` benchmark ` gem will become bundled in Ruby 3.5
Original file line number Diff line number Diff line change 6
6
module ActiveSupport
7
7
module Testing
8
8
class Parallelization # :nodoc:
9
+ PrerecordResultClass = Struct . new ( :name )
10
+
9
11
class Server
10
12
include DRb ::DRbUndumped
11
13
@@ -21,6 +23,7 @@ def record(reporter, result)
21
23
@in_flight . delete ( [ result . klass , result . name ] )
22
24
23
25
reporter . synchronize do
26
+ reporter . prerecord ( PrerecordResultClass . new ( result . klass ) , result . name )
24
27
reporter . record ( result )
25
28
end
26
29
end
You can’t perform that action at this time.
0 commit comments