Clear cache collections

This commit is contained in:
Michael Klishin 2013-04-17 02:22:57 +04:00
parent a39c13a574
commit 0a386750c3

View file

@ -85,8 +85,10 @@
(use-fixtures :each (fn [f]
(mc/remove "basic_monger_cache_entries")
(mc/remove "db_aware_monger_cache_entries")
(f)
(mc/remove "basic_monger_cache_entries")))
(mc/remove "basic_monger_cache_entries")
(mc/remove "db_aware_monger_cache_entries")))
(deftest ^{:cache true}
@ -143,7 +145,7 @@
(deftest ^{:cache true}
test-lookup-with-basic-moger-cache
test-lookup-with-db-aware-moger-cache
(testing "that lookup returns nil for misses"
(let [db (mg/get-db "altcache")
coll "db_aware_monger_cache_entries"