summaryrefslogtreecommitdiff
path: root/dbtests/repltests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dbtests/repltests.cpp')
-rw-r--r--dbtests/repltests.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbtests/repltests.cpp b/dbtests/repltests.cpp
index c6ef6c2..53e3609 100644
--- a/dbtests/repltests.cpp
+++ b/dbtests/repltests.cpp
@@ -1053,7 +1053,8 @@ namespace ReplTests {
check();
ASSERT( !s_.inMem() );
- s_.reset();
+ s_.reset( 4 * sizeof( BSONObj ) - 1 );
+ s_.mayUpgradeStorage();
ASSERT( s_.inMem() );
}
private: