summaryrefslogtreecommitdiff
path: root/dbtests
diff options
context:
space:
mode:
authorAntonin Kral <a.kral@bobek.cz>2010-09-24 19:01:03 +0200
committerAntonin Kral <a.kral@bobek.cz>2010-09-24 19:01:03 +0200
commit0ad0c09511a04ebe837f2acb859d47f2aa4e038a (patch)
tree109babcb556f6c5884b77853120717f0617c7a1e /dbtests
parent03e58f81cad8dd4cfcd1530f327116f0cff6ceb3 (diff)
downloadmongodb-0ad0c09511a04ebe837f2acb859d47f2aa4e038a.tar.gz
Imported Upstream version 1.6.3
Diffstat (limited to 'dbtests')
-rw-r--r--dbtests/basictests.cpp2
-rw-r--r--dbtests/jstests.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/dbtests/basictests.cpp b/dbtests/basictests.cpp
index 342e982..27f7cdc 100644
--- a/dbtests/basictests.cpp
+++ b/dbtests/basictests.cpp
@@ -234,7 +234,7 @@ namespace BasicTests {
if ( y < 1000 || y > 2500 ){
cout << "sleeptest y: " << y << endl;
ASSERT( y >= 1000 );
- ASSERT( y <= 100000 );
+ /* ASSERT( y <= 100000 ); */
}
}
}
diff --git a/dbtests/jstests.cpp b/dbtests/jstests.cpp
index 81b9673..a9d9db8 100644
--- a/dbtests/jstests.cpp
+++ b/dbtests/jstests.cpp
@@ -541,7 +541,7 @@ namespace JSTests {
ASSERT( s->exec( "c = {c:a.a.toString()}", "foo", false, true, false ) );
out = s->getObject( "c" );
stringstream ss;
- ss << "NumberLong( \"" << val << "\" )";
+ ss << "NumberLong(\"" << val << "\")";
ASSERT_EQUALS( ss.str(), out.firstElement().valuestr() );
ASSERT( s->exec( "d = {d:a.a.toNumber()}", "foo", false, true, false ) );