summaryrefslogtreecommitdiff
path: root/dbtests/pdfiletests.cpp
diff options
context:
space:
mode:
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 );