0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

test debugging info

This commit is contained in:
Aaron 2011-01-31 18:39:38 -08:00
parent 41182e1adf
commit da3c2d6e6a
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ sleep( 1000 );
* 14 is sometimes returned instead due to SERVER-2184
*/
exitCode = stopMongod( port );
assert( exitCode == 12 || exitCode == 14 );
assert( exitCode == 12 || exitCode == 14, "got unexpected exitCode: " + exitCode );
s1();
s2();

View File

@ -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" );