rails/activerecord/test
Ryuta Kamizono 3453c5d4c0 Give up filling schema cache before assert_no_queries
This reverts commit a1ee4a9ff9d4a3cb255365310ead0dc7b739c6be.

Even if a1ee4a9 is applied, CI is still flakiness.

https://buildkite.com/rails/rails/builds/61252#2c090afa-aa84-4a2b-8b81-9f09219222c6/994-1005
https://buildkite.com/rails/rails/builds/61252#2e55bf83-1bde-44a2-a4f1-b5c3f6820fb4/929-938

Failing tests by whether schema cache is filled or not, it actually
means that whether SCHEMA SQLs are executed or not is not target for the
tests.

So I've reverted commit a1ee4a9 which filling schema cache before
`assert_no_queries`, and replace `assert_no_queries` to
`assert_queries(0)`.
2019-05-22 01:23:58 +09:00
..
active_record/connection_adapters Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
assets Use YAML to serialize schema cache 2016-11-27 22:09:58 -05:00
cases Give up filling schema cache before assert_no_queries 2019-05-22 01:23:58 +09:00
fixtures Lazy checking whether or not values in IN clause are boundable 2018-10-24 11:26:49 +09:00
migrations Fix occurrences Fixnum|Bignum 2018-03-04 20:44:30 +02:00
models Fix eager loading associations with string joins not to raise NoMethodError 2019-05-15 22:00:01 +09:00
schema Adds touch option to has_one association 2019-04-25 03:31:34 +09:00
support Remove duplicated protected params definitions 2019-02-24 19:50:53 +09:00
config.example.yml Respect ENV variables when finding DBs etc for the test suite 2019-02-06 01:20:06 +10:30
config.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00