Permalink
Browse files

jstests shouldn't drop the "test" db

  • Loading branch information...
1 parent d861e27 commit f53de1128ddff7e99c5a6047cf56a6f5000d24c4 @erh erh committed Apr 24, 2012
Showing with 2 additions and 3 deletions.
  1. +1 −1 jstests/extent.js
  2. +1 −2 jstests/indexb.js
View
@@ -7,5 +7,5 @@ for ( var i=0; i<50; i++ ) { // enough iterations to break 32 bit.
assert( t.count() == 1 );
t.drop();
}
+t.drop();
-db.dropDatabase();
View
@@ -5,8 +5,7 @@
// when it doesn't move
-t = db.indexb;t = db.indexb;
-db.dropDatabase();
+t = db.indexb;
t.drop();
t.ensureIndex({a:1},true);

0 comments on commit f53de11

Please sign in to comment.