From 2d58b02b1300c004b7c3b2c738b3ae4a86fc2a9c Mon Sep 17 00:00:00 2001 From: Michael Klishin Date: Sat, 21 Feb 2015 12:10:01 +0300 Subject: [PATCH] Upgrade to MongoDB 2.13.0 --- project.clj | 2 +- test/monger/test/cursor_test.clj | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/project.clj b/project.clj index b88d1aa..64fff00 100644 --- a/project.clj +++ b/project.clj @@ -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)) diff --git a/test/monger/test/cursor_test.clj b/test/monger/test/cursor_test.clj index 7553af6..b6d28fe 100644 --- a/test/monger/test/cursor_test.clj +++ b/test/monger/test/cursor_test.clj @@ -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)]