Clear cache collections in the correct db
This commit is contained in:
parent
0a386750c3
commit
957623094b
1 changed files with 4 additions and 2 deletions
|
|
@ -85,10 +85,12 @@
|
|||
|
||||
(use-fixtures :each (fn [f]
|
||||
(mc/remove "basic_monger_cache_entries")
|
||||
(mc/remove "db_aware_monger_cache_entries")
|
||||
(let [db (mg/get-db "altcache")]
|
||||
(mc/remove db "db_aware_monger_cache_entries" {}))
|
||||
(f)
|
||||
(mc/remove "basic_monger_cache_entries")
|
||||
(mc/remove "db_aware_monger_cache_entries")))
|
||||
(let [db (mg/get-db "altcache")]
|
||||
(mc/remove db "db_aware_monger_cache_entries" {}))))
|
||||
|
||||
|
||||
(deftest ^{:cache true}
|
||||
|
|
|
|||
Loading…
Reference in a new issue