diff options
author | Spencer T Brody <spencer@10gen.com> | 2013-10-25 15:03:59 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2013-10-28 14:57:51 -0400 |
commit | 0e35f9154fe51586d4bbc30267772a664b8df907 (patch) | |
tree | ea957c71863f019d40933c3561e593aac67f24e0 /jstests/slowNightly | |
parent | 38b665b22722ab442a9c022b54558e3cd7a9b84f (diff) | |
download | mongo-0e35f9154fe51586d4bbc30267772a664b8df907.tar.gz |
SERVER-8213 Make copyDB and clone work with auth when using new-style users
Diffstat (limited to 'jstests/slowNightly')
-rw-r--r-- | jstests/slowNightly/server7428.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/jstests/slowNightly/server7428.js b/jstests/slowNightly/server7428.js deleted file mode 100644 index 1b28e3fc620..00000000000 --- a/jstests/slowNightly/server7428.js +++ /dev/null @@ -1,16 +0,0 @@ -// Regression test for SERVER-7428. -// -// Verify that the copyDatabase command works appropriately when the -// target mongo instance has authentication enabled. - -// Setup fromDb with no auth -var fromDb = MongoRunner.runMongod({ port: 29000 }); - -// Setup toDb with auth -var toDb = MongoRunner.runMongod({auth : "", port : 31001}); -var admin = toDb.getDB("admin"); -admin.addUser({user: "foo", pwd: "bar", roles: jsTest.adminUserRoles}); -admin.auth("foo","bar"); - -admin.copyDatabase('test', 'test', fromDb.host) - |