Permalink
Browse files

Changed cache name.

  • Loading branch information...
1 parent 1ab86d2 commit 6f3981f8fe28c10f2a281961f9f6561b2bfce5aa @treeder treeder committed Nov 7, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/test_iron_cache.rb
View
@@ -193,7 +193,7 @@ def test_keys
def test_clear
- cache = @client.cache("test_clear_2")
+ cache = @client.cache("test_clear_3")
num_items = 50
num_items.times do |i|
@@ -206,6 +206,7 @@ def test_clear
assert_equal num_items, cache.size
p cache.clear
+ sleep 2
assert_nil cache.get(tkey)
assert_equal 0, cache.reload.size
end

0 comments on commit 6f3981f

Please sign in to comment.