mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
test extent reclamation
This commit is contained in:
parent
4f16eebd29
commit
fb9834049b
11
jstests/extent.js
Normal file
11
jstests/extent.js
Normal file
@ -0,0 +1,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();
|
Loading…
Reference in New Issue
Block a user