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:
parent
41182e1adf
commit
da3c2d6e6a
@ -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();
|
||||
|
@ -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" );
|
||||
|
Loading…
Reference in New Issue
Block a user