clear all connections before forking
This commit is contained in:
parent
ccecf17b9b
commit
a52966f612
@ -1337,6 +1337,9 @@ def test_marshal_between_processes
|
||||
})
|
||||
|
||||
rd, wr = IO.pipe
|
||||
|
||||
ActiveRecord::Base.connection_handler.clear_all_connections!
|
||||
|
||||
fork do
|
||||
rd.close
|
||||
post = Post.new
|
||||
|
Loading…
Reference in New Issue
Block a user