summaryrefslogtreecommitdiff
path: root/jstests/core/extent.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/extent.js')
-rw-r--r--jstests/core/extent.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/jstests/core/extent.js b/jstests/core/extent.js
new file mode 100644
index 00000000000..47ae868606a
--- /dev/null
+++ b/jstests/core/extent.js
@@ -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();
+}
+t.drop();
+