Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

jstests shouldn't drop the "test" db

Conflicts:

	jstests/indexb.js
  • Loading branch information...
commit 82e407ad5ee9ea9c69c6d68c3c92e79934739a88 1 parent 6797ff9
Eliot Horowitz erh authored
Showing with 2 additions and 3 deletions.
  1. +1 −1  jstests/extent.js
  2. +1 −2  jstests/indexb.js
2  jstests/extent.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();
3  jstests/indexb.js
View
@@ -6,8 +6,7 @@
t = db.indexb;
-db.dropDatabase();
-
+t.drop();
t.ensureIndex({a:1},true);
t.insert({a:1});
Please sign in to comment.
Something went wrong with that request. Please try again.