Fix flakey Memcache tests
This commit is contained in:
parent
e8c0293a77
commit
af71e5ef96
|
@ -20,7 +20,11 @@ class MemCacheStoreTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
class UnavailableDalliServer < Dalli::Protocol::Binary
|
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
|
false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue