Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Random failures due to active connection checking within the assert_no_changes block. Failure: MigrationTest#test_with_advisory_lock_closes_connection [/rails/activerecord/test/cases/migration_test.rb:947]: --- expected +++ actual @@ -1 +1 @@ -["SELECT 1", "SELECT 1"] +["SELECT 1", "SELECT 1", "SELECT 1"] This commit scopes the query down further to ensure that the advisory unlock query is not left in pg_stat_activity which is an indication that the connection pool was not disconnected.
- Loading branch information