summaryrefslogtreecommitdiff
path: root/jstests/mmap_v1/extent.js
blob: 35b9213dca4a35d268e1bef78f72095e314daabe (plain)
1
2
3
4
5
6
7
8
9
10
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();