summaryrefslogtreecommitdiff
path: root/dbtests
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2010-12-22 17:29:02 -0800
committerAaron <aaron@10gen.com>2010-12-22 17:29:02 -0800
commit67149434be8fc407bc84fa62cc624c36f550104e (patch)
treee8f3c8f4efd20039b4e0bf43f77caf7ed17e9731 /dbtests
parent52a46867c7b862edf871df4a27f49858ff535802 (diff)
downloadmongo-67149434be8fc407bc84fa62cc624c36f550104e.tar.gz
only do 'N' iterations in LeakTest to speed up test on osx
Diffstat (limited to 'dbtests')
-rwxr-xr-xdbtests/mmaptests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbtests/mmaptests.cpp b/dbtests/mmaptests.cpp
index 76b76be7517..8d5542da116 100755
--- a/dbtests/mmaptests.cpp
+++ b/dbtests/mmaptests.cpp
@@ -60,7 +60,7 @@ namespace MMapTests {
// we make a lot here -- if we were leaking, presumably it would fail doing this many.
Timer t;
- for( int i = 0; i < 10000; i++ ) {
+ for( int i = 0; i < N; i++ ) {
MongoMMF f;
assert( f.open(fn, i%4==1) );
if( !testIntent ) {