We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4193de commit 91a3a2dCopy full SHA for 91a3a2d
activerecord/test/cases/adapter_test.rb
@@ -645,8 +645,9 @@ def teardown
645
646
assert_equal 1, invocations # the whole transaction block is not retried
647
648
- # After the (outermost) transaction block failed, it reconnected
649
- assert_predicate @connection, :active?
+ # After the (outermost) transaction block failed, the connection is
+ # ready to reconnect on next use, but hasn't done so yet
650
+ assert_not_predicate @connection, :active?
651
assert_operator Post.count, :>, 0
652
end
653
0 commit comments