diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2015-06-12 09:16:18 -0400 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2015-06-12 09:20:05 -0400 |
commit | 5e212e70f8b892410aca4e2af99ff57daa1e09cd (patch) | |
tree | 43cb175d21324a3bfa62d63fe079722673437d5a /jstests/concurrency/fsm_workloads/count_indexed.js | |
parent | 9a00e51f76afd0f68e96196ad8e11924de254d8e (diff) | |
download | mongo-5e212e70f8b892410aca4e2af99ff57daa1e09cd.tar.gz |
SERVER-18797 FSM tests, enable sharding replication. Add shardKey to workloads which support it in their query.
Diffstat (limited to 'jstests/concurrency/fsm_workloads/count_indexed.js')
-rw-r--r-- | jstests/concurrency/fsm_workloads/count_indexed.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/concurrency/fsm_workloads/count_indexed.js b/jstests/concurrency/fsm_workloads/count_indexed.js index 7dbe408a82a..dc49593f46f 100644 --- a/jstests/concurrency/fsm_workloads/count_indexed.js +++ b/jstests/concurrency/fsm_workloads/count_indexed.js @@ -16,6 +16,7 @@ load('jstests/concurrency/fsm_workload_helpers/drop_utils.js'); // for dropColle var $config = extendWorkload($config, function($config, $super) { $config.data.prefix = 'count_fsm'; + $config.data.shardKey = { tid: 1, i: 1 }; $config.data.getCount = function getCount(db, predicate) { var query = Object.extend({ tid: this.tid }, predicate); |