summaryrefslogtreecommitdiff
path: root/jstests/mmap_v1/capped_server7543.js
blob: 625f62cd4a73b683c3e61c4a51a87d1c70de03c3 (plain)
1
2
3
4
5
6
7
8
9
10

mydb = db.getSisterDB("capped_server7543");
mydb.dropDatabase();

mydb.createCollection("foo", {capped: true, size: 12288});

assert.eq(12288, mydb.foo.stats().storageSize);
assert.eq(1, mydb.foo.validate(true).extentCount);

mydb.dropDatabase();