diff options
author | Eileen M. Uchitelle <eileencodes@users.noreply.github.com> | 2019-06-05 17:01:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-05 17:01:57 -0400 |
commit | c4d8e057c540dd0ba424dcc5203db1c945b4b412 (patch) | |
tree | c1910ea78f5d477669620a201e7509401e3a6a96 /activerecord/test | |
parent | f166a01b4bfca7d32428095670a271d0771db797 (diff) | |
parent | 49b6b211a922f73d0b083e7e4d2f0a91bd44da90 (diff) | |
download | rails-c4d8e057c540dd0ba424dcc5203db1c945b4b412.tar.gz rails-c4d8e057c540dd0ba424dcc5203db1c945b4b412.tar.bz2 rails-c4d8e057c540dd0ba424dcc5203db1c945b4b412.zip |
Merge pull request #36371 from eileencodes/move-schema-cache-to-pool
Move schema cache to pool
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/connection_pool_test.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/cases/connection_pool_test.rb b/activerecord/test/cases/connection_pool_test.rb index a15ad9a45b..82f5f45a4c 100644 --- a/activerecord/test/cases/connection_pool_test.rb +++ b/activerecord/test/cases/connection_pool_test.rb @@ -507,7 +507,6 @@ module ActiveRecord pool.schema_cache = schema_cache pool.with_connection do |conn| - assert_not_same pool.schema_cache, conn.schema_cache assert_equal pool.schema_cache.size, conn.schema_cache.size assert_same pool.schema_cache.columns(:posts), conn.schema_cache.columns(:posts) end |