summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2009-11-30 17:05:01 -0500
committerMathias Stearn <mathias@10gen.com>2009-11-30 17:05:31 -0500
commit31a82b30347d349a6c9d72d36c7e336da66716a8 (patch)
tree62983c3ba8b4eca39648e6fadb0115779105c5ad
parentce036039e6c23ef2c6fcb5344f1beb07aa251cb5 (diff)
downloadmongo-31a82b30347d349a6c9d72d36c7e336da66716a8.tar.gz
Loosen test because capped collection size isn't exact
-rw-r--r--dbtests/querytests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbtests/querytests.cpp b/dbtests/querytests.cpp
index 6d579958e01..fc4ddd6fbd9 100644
--- a/dbtests/querytests.cpp
+++ b/dbtests/querytests.cpp
@@ -724,7 +724,7 @@ namespace QueryTests {
ASSERT( userCreateNS( ns() , fromjson( "{ capped : true , size : 2000 }" ) , err , false ) );
for ( int i=0; i<100; i++ ){
insertNext();
- ASSERT( count() < 40 );
+ ASSERT( count() < 45 );
}
int a = count();