insert into collection before re-index
just to see if that makes a diff
This commit is contained in:
parent
219c9fa41c
commit
9cc2d6dd19
1 changed files with 5 additions and 4 deletions
|
|
@ -23,10 +23,11 @@
|
||||||
(is (= check (get stats "count")))))
|
(is (= check (get stats "count")))))
|
||||||
|
|
||||||
|
|
||||||
; (deftest test-reindex-collection
|
(deftest test-reindex-collection
|
||||||
; (let [result (monger.command/reindex-collection "test")]
|
(let [_ (mgcol/insert "test" { :name "Clojure" })
|
||||||
; (is (monger.result/ok? result))
|
result (monger.command/reindex-collection "test")]
|
||||||
; (is (get result "indexes"))))
|
(is (monger.result/ok? result))
|
||||||
|
(is (get result "indexes"))))
|
||||||
|
|
||||||
|
|
||||||
(deftest test-server-status
|
(deftest test-server-status
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue