summaryrefslogtreecommitdiff
path: root/jstests/dropdb.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/dropdb.js')
-rw-r--r--jstests/dropdb.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/jstests/dropdb.js b/jstests/dropdb.js
deleted file mode 100644
index 0b838846bde..00000000000
--- a/jstests/dropdb.js
+++ /dev/null
@@ -1,17 +0,0 @@
-// Test that a db does not exist after it is dropped.
-// Disabled in the small oplog suite because the slave may create a master db
-// with the same name as the dropped db when requesting a clone.
-
-m = db.getMongo();
-baseName = "jstests_dropdb";
-ddb = db.getSisterDB( baseName );
-
-ddb.c.save( {} );
-ddb.getLastError();
-assert.neq( -1, m.getDBNames().indexOf( baseName ) );
-
-ddb.dropDatabase();
-assert.eq( -1, m.getDBNames().indexOf( baseName ) );
-
-ddb.dropDatabase();
-assert.eq( -1, m.getDBNames().indexOf( baseName ) );