Skip to content

Commit

Permalink
Don't run memcache tests in parallel
Browse files Browse the repository at this point in the history
Since we clear the entire cache after each test, we can't run these in
parallel otherwise one process can clean the cache of other before the
assertion is run.
  • Loading branch information
rafaelfranca committed Aug 5, 2023
1 parent 5e3ca3b commit f8c03ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions activesupport/test/cache/stores/mem_cache_store_test.rb
Expand Up @@ -50,6 +50,8 @@ def lookup_store(*addresses, **options)
cache
end

parallelize(workers: 1)

def setup
skip "memcache server is not up" unless MEMCACHE_UP

Expand Down

0 comments on commit f8c03ee

Please sign in to comment.