summaryrefslogtreecommitdiff
path: root/jstests/extent.js
blob: 8fca69984877205a0c750b2b6cb55cc7a0cd0c40 (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();
}

db.dropDatabase();