diff options
author | Aaron <aaron@10gen.com> | 2012-02-12 16:21:08 -0800 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2012-02-12 16:21:08 -0800 |
commit | 3783f485e4e0447f5edf912b23aa402d35729883 (patch) | |
tree | 7f3e260549af67e2a62bce5f86c3e7c95ef9f08a /jstests/profile1.js | |
parent | 61c3988d373a3e2d497feb577a4f9a6da334d938 (diff) | |
download | mongo-3783f485e4e0447f5edf912b23aa402d35729883.tar.gz |
Revert "profile tests could not run in parallel, need own db"
Shared 'db' variable was being reassigned.
This reverts commit 408bdeb3ca7e820e2ac1c32454e21e65cbdf9179.
Diffstat (limited to 'jstests/profile1.js')
-rw-r--r-- | jstests/profile1.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/jstests/profile1.js b/jstests/profile1.js index 6824569bfd8..ad69d90a55f 100644 --- a/jstests/profile1.js +++ b/jstests/profile1.js @@ -1,8 +1,5 @@ print("profile1.js BEGIN"); -// special db so that it can be run in parallel tests -db = db.getSisterDB("profile1"); - try { function getProfileAString() { @@ -123,7 +120,7 @@ try { assert.eq( q , r.query , "Y1" ); assert.eq( u , r.updateobj , "Y2" ); assert.eq( "update" , r.op , "Y3" ); - assert.eq("profile1.profile1", r.ns, "Y4"); + assert.eq("test.profile1", r.ns, "Y4"); print("profile1.js SUCCESS OK"); |