summaryrefslogtreecommitdiff
path: root/jstests/repl/basic1.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/repl/basic1.js')
-rw-r--r--jstests/repl/basic1.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/repl/basic1.js b/jstests/repl/basic1.js
index 701d71e..15fc983 100644
--- a/jstests/repl/basic1.js
+++ b/jstests/repl/basic1.js
@@ -60,7 +60,7 @@ r = function( key , v ){
correct = { a : 2 , b : 1 };
function checkMR( t ){
- var res = t.mapReduce( m , r );
+ var res = t.mapReduce( m , r , "basic1_out" );
assert.eq( correct , res.convertToSingleObject() , "checkMR: " + tojson( t ) );
}
@@ -68,7 +68,7 @@ function checkNumCollections( msg , diff ){
if ( ! diff ) diff = 0;
var m = am.getCollectionNames();
var s = as.getCollectionNames();
- assert.eq( m.length + diff , s.length , "lengths bad \n" + tojson( m ) + "\n" + tojson( s ) );
+ assert.eq( m.length + diff , s.length , msg + " lengths bad \n" + tojson( m ) + "\n" + tojson( s ) );
}
checkNumCollections( "MR1" );