test/test_encoding.rb in dalli-2.2.1 vs test/test_encoding.rb in dalli-2.3.0
- old
+ new
@@ -21,10 +21,10 @@
should 'support content expiry' do
memcached do |dc|
key = 'foo'
assert dc.set(key, 'bar', 1)
assert_equal 'bar', dc.get(key)
- sleep 2
+ sleep 1.2
assert_equal nil, dc.get(key)
end
end
end