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