Fix flakey Memcache tests

This commit is contained in:
Alex Ghiculescu 2021-12-13 15:06:03 -06:00
parent e8c0293a77
commit af71e5ef96
1 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,11 @@ class MemCacheStoreTest < ActiveSupport::TestCase
end
class UnavailableDalliServer < Dalli::Protocol::Binary
def alive?
def alive? # before https://github.com/petergoldstein/dalli/pull/863
false
end
def ensure_connected! # after https://github.com/petergoldstein/dalli/pull/863
false
end
end