diff options
-rw-r--r-- | jstests/profile1.js | 5 | ||||
-rw-r--r-- | jstests/profile2.js | 3 | ||||
-rw-r--r-- | jstests/profile3.js | 3 |
3 files changed, 1 insertions, 10 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"); diff --git a/jstests/profile2.js b/jstests/profile2.js index 99d729e4326..46392549296 100644 --- a/jstests/profile2.js +++ b/jstests/profile2.js @@ -1,8 +1,5 @@ print("profile2.js BEGIN"); -// special db so that it can be run in parallel tests -db = db.getSisterDB("profile2"); - try { assert.commandWorked( db.runCommand( {profile:2} ) ); diff --git a/jstests/profile3.js b/jstests/profile3.js index 5fe08eda2ec..7c6a3a4e782 100644 --- a/jstests/profile3.js +++ b/jstests/profile3.js @@ -1,7 +1,4 @@ -// special db so that it can be run in parallel tests -db = db.getSisterDB("profile3"); - t = db.profile3; t.drop(); |