提交 baf5f47b 编写于 作者: A Aaron Patterson

reconnect after the fork returns

上级 fcb92882
......@@ -1348,6 +1348,8 @@ def test_marshal_between_processes
wr.close
assert Marshal.load rd.read
rd.close
ensure
ActiveRecord::Base.connection.reconnect!
end
def test_marshalling_new_record_round_trip_with_associations
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册