Upgrade to MongoDB 2.13.0

This commit is contained in:
Michael Klishin 2015-02-21 12:10:01 +03:00
parent 7bf5956565
commit 2d58b02b13
2 changed files with 2 additions and 4 deletions

View file

@ -5,7 +5,7 @@
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.mongodb/mongo-java-driver "2.12.4"]
[org.mongodb/mongo-java-driver "2.13.0"]
[clojurewerkz/support "1.1.0"]]
:test-selectors {:default (fn [m]
(and (not (:performance m))

View file

@ -28,12 +28,10 @@
(add-option! db-cur :notimeout)
(is (= (:notimeout cursor-options)
(.getOptions db-cur)))
;; setting tailable will also set awaitdata in 2.12.x. MK.
(add-option! db-cur :tailable)
(is (= (.getOptions db-cur)
(bit-or (:notimeout cursor-options)
(:tailable cursor-options)
(:awaitdata cursor-options))))))
(:tailable cursor-options))))))
(deftest remove-option-from-cursor
(let [db-cur (make-db-cursor db :docs)]