diff options
author | agirbal <antoine@10gen.com> | 2012-02-15 11:14:22 -0800 |
---|---|---|
committer | agirbal <antoine@10gen.com> | 2012-02-15 11:14:22 -0800 |
commit | 615045f2970a48f3bf9e2c83768b23239daad659 (patch) | |
tree | bedc6896db5f9a0ffe4452716e5ec8df2204fd4f /jstests/profile2.js | |
parent | c4619cf3833376ddd794ac11c9e8c4814e9bcd26 (diff) | |
download | mongo-615045f2970a48f3bf9e2c83768b23239daad659.tar.gz |
special local db for profile tests, to be run in parallel
Diffstat (limited to 'jstests/profile2.js')
-rw-r--r-- | jstests/profile2.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jstests/profile2.js b/jstests/profile2.js index 46392549296..b2850f8051a 100644 --- a/jstests/profile2.js +++ b/jstests/profile2.js @@ -1,5 +1,8 @@ print("profile2.js BEGIN"); +// special db so that it can be run in parallel tests +var db = db.getSisterDB("profile2"); + try { assert.commandWorked( db.runCommand( {profile:2} ) ); |