removed test because driver does not implement
This commit is contained in:
parent
0c89a036d1
commit
547ee748ad
@ -1,17 +0,0 @@
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
require File.join(File.dirname(__FILE__), '_common.rb')
|
||||
db = Mongo.new(DEFAULT_HOST, DEFAULT_PORT).db(DEFAULT_DB)
|
||||
|
||||
db.create_collection('capped1', :capped => true, :size => 500)
|
||||
coll = db.collection('capped1')
|
||||
coll.insert('x' => 1)
|
||||
coll.insert('x' => 2)
|
||||
|
||||
db.create_collection('capped2', :capped => true, :size => 1000, :max => 11)
|
||||
coll = db.collection('capped2')
|
||||
str = ''
|
||||
100.times {
|
||||
coll.insert('dashes' => str)
|
||||
str << '-'
|
||||
}
|
Loading…
Reference in New Issue
Block a user