Permalink
Browse files

a little more reliable with sharding

  • Loading branch information...
1 parent ee92cf9 commit 552c03201a5aff6dffa2d6755f897e368176e4d7 @erh erh committed Apr 26, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 jstests/dropdb.js
View
1 jstests/dropdb.js
@@ -7,6 +7,7 @@ baseName = "jstests_dropdb";
ddb = db.getSisterDB( baseName );
ddb.c.save( {} );
+ddb.getLastError();
assert.neq( -1, m.getDBNames().indexOf( baseName ) );
ddb.dropDatabase();

0 comments on commit 552c032

Please sign in to comment.