0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-24 16:46:00 +01:00
mongodb/jstests/mmap_v1/extent.js

11 lines
250 B
JavaScript

t = db.reclaimExtentsTest;
t.drop();
for (var i = 0; i < 50; i++) { // enough iterations to break 32 bit.
db.createCollection('reclaimExtentsTest', {size: 100000000});
t.insert({x: 1});
assert(t.count() == 1);
t.drop();
}
t.drop();