summaryrefslogtreecommitdiff
path: root/jstests/concurrency/fsm_workloads/count_indexed.js
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2015-06-12 09:16:18 -0400
committerJonathan Abrahams <jonathan@mongodb.com>2015-06-12 09:20:05 -0400
commit5e212e70f8b892410aca4e2af99ff57daa1e09cd (patch)
tree43cb175d21324a3bfa62d63fe079722673437d5a /jstests/concurrency/fsm_workloads/count_indexed.js
parent9a00e51f76afd0f68e96196ad8e11924de254d8e (diff)
downloadmongo-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.js1
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);