1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/test/cache/stores
John Hawthorn 1301063c2c Allow cache tests to be run in parallel
This initializes our caches with a random namespace which should ensure
that we can run the tests in parallel without interfering with each
other.

One compromise is that we can never actually call cache.clear on the
memcache client, since that would clear the cache for all namespaces. We
can work around this for the one test that needs to do a clear to
stub flush_all on the client and replace it with a delete.
2020-01-24 09:54:55 -08:00
..
file_store_test.rb Use random tmp dir for FileStoreTest 2020-01-24 09:54:01 -08:00
mem_cache_store_test.rb Allow cache tests to be run in parallel 2020-01-24 09:54:55 -08:00
memory_store_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
null_store_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
redis_cache_store_test.rb Allow cache tests to be run in parallel 2020-01-24 09:54:55 -08:00