summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-12-25 02:02:59 -0500
committerEliot Horowitz <eliot@10gen.com>2010-12-25 02:02:59 -0500
commitc71a9ee13b2f1c405f736433724cd3b57374112a (patch)
treeebc59682f13c50d06610b36e1fdeedce1cb90293
parent113c5e3108a4b421532f20a3fab86c12da5ba480 (diff)
downloadmongo-c71a9ee13b2f1c405f736433724cd3b57374112a.tar.gz
fix test compile
-rw-r--r--dbtests/pdfiletests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbtests/pdfiletests.cpp b/dbtests/pdfiletests.cpp
index 88fd5421352..4aad7e5dde0 100644
--- a/dbtests/pdfiletests.cpp
+++ b/dbtests/pdfiletests.cpp
@@ -323,7 +323,7 @@ namespace PdfileTests {
void run(){
SmallFilesControl c;
// test that no matter what we start with, we always get to max extent size
- for ( int obj=16; obj<BSONObjMaxUserSize; obj *= 1.3 ){
+ for ( int obj=16; obj<(4*1024*1024); obj *= 1.3 ){
int sz = initialExtentSize( obj );
for ( int i=0; i<100; i++ ){
sz = followupExtentSize( obj , sz );