Skip to content

Commit 8f18c7d

Browse files
committed
Skip profiling test for server versions <= 2.2
1 parent ab058d2 commit 8f18c7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/db_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ def test_db_stats
319319
end
320320

321321
should "return profiling info" do
322+
return unless @@version >= "2.2"
322323
@db.profiling_level = :all
323324
@coll.find()
324325
@db.profiling_level = :off

0 commit comments

Comments
 (0)