Warm-up to avoid autoloads interfering with class serial
This commit is contained in:
parent
bdb0610c10
commit
e4140140af
|
@ -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 New Issue