From 093c24fdd040ae5003b2ce26492fbd79a6de36a2 Mon Sep 17 00:00:00 2001 From: Aaron Date: Tue, 30 Mar 2010 11:59:45 -0700 Subject: [PATCH] SERVER-761 debug --- jstests/dbhash.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jstests/dbhash.js b/jstests/dbhash.js index 0daec6e4398..e9cbc944b5f 100644 --- a/jstests/dbhash.js +++ b/jstests/dbhash.js @@ -7,8 +7,11 @@ b.drop(); // debug SERVER-761 db.getCollectionNames().forEach( function( x ) { - v = db[ x ].validate() - assert( v.valid, x + " " + tojson( v ) ); + v = db[ x ].validate(); + if ( !v.valid ) { + print( x ); + printjson( v ); + } } ); function gh( coll , mydb ){