summaryrefslogtreecommitdiff
path: root/dbtests/pdfiletests.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-12-25 02:18:45 -0500
committerEliot Horowitz <eliot@10gen.com>2010-12-25 02:18:45 -0500
commit8e13302dfd36fc4c8c1d4b470e9303a2f95898ff (patch)
treee11038776894272304e7fcf7624efd8faaad3191 /dbtests/pdfiletests.cpp
parent5d7fd2df7bf55ff4cbe3bf7b79d764dbc4ddba2f (diff)
downloadmongo-8e13302dfd36fc4c8c1d4b470e9303a2f95898ff.tar.gz
fix test compile
Diffstat (limited to 'dbtests/pdfiletests.cpp')
-rw-r--r--dbtests/pdfiletests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbtests/pdfiletests.cpp b/dbtests/pdfiletests.cpp
index ae7fc11234a..41245a4ec70 100644
--- a/dbtests/pdfiletests.cpp
+++ b/dbtests/pdfiletests.cpp
@@ -320,7 +320,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<BSONObjMaxUserSize; obj += 111 ){
int sz = Extent::initialSize( obj );
for ( int i=0; i<100; i++ ){
sz = Extent::followupSize( obj , sz );