Skip to content

Commit

Permalink
Resolve deadlock in pooled connections test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Nov 10, 2009
1 parent 7ad6e9b commit 77478f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/pooled_connections_test.rb
Expand Up @@ -105,7 +105,7 @@ def test_with_connection_nesting_safety
Thread.new do
ActiveRecord::Base.connection.rollback_db_transaction
ActiveRecord::Base.connection_pool.release_connection
end.join rescue nil
end
add_record('three')
end

Expand Down

0 comments on commit 77478f2

Please sign in to comment.