From f8c03ee44a7d46a4831ee717d16a4b35fe05f53e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Sat, 5 Aug 2023 02:12:52 +0000 Subject: [PATCH] Don't run memcache tests in parallel 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. --- activesupport/test/cache/stores/mem_cache_store_test.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/activesupport/test/cache/stores/mem_cache_store_test.rb b/activesupport/test/cache/stores/mem_cache_store_test.rb index 3789a0e2a8e1..e908a550bfe9 100644 --- a/activesupport/test/cache/stores/mem_cache_store_test.rb +++ b/activesupport/test/cache/stores/mem_cache_store_test.rb @@ -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