Merge pull request #25361 from maclover7/jm-rm-stuff

Remove `_run_class_setup`
This commit is contained in:
Sean Griffin 2016-06-10 22:12:06 -04:00 committed by GitHub
commit 1528c8c2ae

@ -13,17 +13,6 @@ def self.forking_env?
!ENV["NO_FORK"] && Process.respond_to?(:fork)
end
@@class_setup_mutex = Mutex.new
def _run_class_setup # class setup method should only happen in parent
@@class_setup_mutex.synchronize do
unless defined?(@@ran_class_setup) || ENV['ISOLATION_TEST']
self.class.setup if self.class.respond_to?(:setup)
@@ran_class_setup = true
end
end
end
def run
serialized = run_in_isolation do
super