Skip to content

Commit 2bbf9db

Browse files
committed
Only test profiling if version < 3.0
1 parent 251dfce commit 2bbf9db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/db_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def test_db_stats
321321
end
322322

323323
should "return profiling info" do
324-
if @version >= "2.2"
324+
if @version >= "2.2" && @version < "3.0"
325325
@db.profiling_level = :all
326326
@coll.find()
327327
@db.profiling_level = :off

0 commit comments

Comments
 (0)