mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Warm-up to avoid autoloads interfering with class serial
This commit is contained in:
parent
bdb0610c10
commit
e4140140af
1 changed files with 3 additions and 0 deletions
|
@ -232,6 +232,9 @@ class ExecutorTest < ActiveSupport::TestCase
|
|||
|
||||
executor.register_hook(hook)
|
||||
|
||||
# Warm-up to trigger any pending autoloads
|
||||
executor.wrap { }
|
||||
|
||||
before = RubyVM.stat(:class_serial)
|
||||
executor.wrap { }
|
||||
executor.wrap { }
|
||||
|
|
Loading…
Reference in a new issue