diff options
author | Aaron <aaron@10gen.com> | 2010-12-22 17:29:02 -0800 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2010-12-22 17:29:02 -0800 |
commit | 67149434be8fc407bc84fa62cc624c36f550104e (patch) | |
tree | e8f3c8f4efd20039b4e0bf43f77caf7ed17e9731 /dbtests | |
parent | 52a46867c7b862edf871df4a27f49858ff535802 (diff) | |
download | mongo-67149434be8fc407bc84fa62cc624c36f550104e.tar.gz |
only do 'N' iterations in LeakTest to speed up test on osx
Diffstat (limited to 'dbtests')
-rwxr-xr-x | dbtests/mmaptests.cpp | 2 |
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 ) { |