summaryrefslogtreecommitdiff
path: root/jstests/parallel
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2013-07-01 11:24:57 -0400
committerSpencer T Brody <spencer@10gen.com>2013-07-01 14:53:15 -0400
commit64f066468c5d708d17321a44a1ded85002b4fe30 (patch)
tree7aeacea5e93855171f799cdbab748e6662119ec0 /jstests/parallel
parent1ef1d5118231f200d3a03007ba1dfd1fdb62dfea (diff)
downloadmongo-64f066468c5d708d17321a44a1ded85002b4fe30.tar.gz
Revert "Fix parallel tests by dropping all databases before starting"
This reverts commit babd275f88181c3f2cd29585816aab24bc4b421c.
Diffstat (limited to 'jstests/parallel')
-rw-r--r--jstests/parallel/basic.js8
-rw-r--r--jstests/parallel/basicPlus.js7
2 files changed, 0 insertions, 15 deletions
diff --git a/jstests/parallel/basic.js b/jstests/parallel/basic.js
index 757e2db7255..bcb4d654ea0 100644
--- a/jstests/parallel/basic.js
+++ b/jstests/parallel/basic.js
@@ -1,13 +1,5 @@
// perform basic js tests in parallel
-// Drop all databases before running tests
-var databases = db.adminCommand('listDatabases').databases;
-for (var i = 0; i < databases.length; ++i) {
- if (databases[i].name != "local")
- db.getSiblingDB(databases[i].name).dropDatabase();
-}
-
-
Random.setRandomSeed();
var params = ParallelTester.createJstestsLists( 4 );
diff --git a/jstests/parallel/basicPlus.js b/jstests/parallel/basicPlus.js
index 5d9df29fb34..4d65d255486 100644
--- a/jstests/parallel/basicPlus.js
+++ b/jstests/parallel/basicPlus.js
@@ -1,12 +1,5 @@
// perform basic js tests in parallel & some other tasks as well
-// Drop all databases before running tests
-var databases = db.adminCommand('listDatabases').databases;
-for (var i = 0; i < databases.length; ++i) {
- if (databases[i].name != "local")
- db.getSiblingDB(databases[i].name).dropDatabase();
-}
-
var c = db.jstests_parallel_basicPlus;
c.drop();