summaryrefslogtreecommitdiff
path: root/jstests/indexb.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-04-24 10:17:40 -0400
committerEliot Horowitz <eliot@10gen.com>2012-04-24 10:19:58 -0400
commit82e407ad5ee9ea9c69c6d68c3c92e79934739a88 (patch)
treeca9bcbe3eb814cd5e9241a430f611dfef8fbf48a /jstests/indexb.js
parent6797ff911da4dc5307d02ebc86a07537d96b7ed4 (diff)
downloadmongo-82e407ad5ee9ea9c69c6d68c3c92e79934739a88.tar.gz
jstests shouldn't drop the "test" db
Conflicts: jstests/indexb.js
Diffstat (limited to 'jstests/indexb.js')
-rw-r--r--jstests/indexb.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/indexb.js b/jstests/indexb.js
index 1de49d6f049..d7d2e8c9f05 100644
--- a/jstests/indexb.js
+++ b/jstests/indexb.js
@@ -6,8 +6,7 @@
t = db.indexb;
-db.dropDatabase();
-
+t.drop();
t.ensureIndex({a:1},true);
t.insert({a:1});