summaryrefslogtreecommitdiff
path: root/jstests/concurrency/fsm_libs/runner.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/concurrency/fsm_libs/runner.js')
-rw-r--r--jstests/concurrency/fsm_libs/runner.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/jstests/concurrency/fsm_libs/runner.js b/jstests/concurrency/fsm_libs/runner.js
index ec629245dad..f620a0b46d9 100644
--- a/jstests/concurrency/fsm_libs/runner.js
+++ b/jstests/concurrency/fsm_libs/runner.js
@@ -42,8 +42,13 @@ var runner = (function() {
}
function validateExecutionOptions(mode, options) {
- var allowedKeys =
- ['backgroundWorkloads', 'dbNamePrefix', 'iterationMultiplier', 'threadMultiplier'];
+ var allowedKeys = [
+ 'backgroundWorkloads',
+ 'dbNamePrefix',
+ 'iterationMultiplier',
+ 'sessionOptions',
+ 'threadMultiplier'
+ ];
if (mode.parallel || mode.composed) {
allowedKeys.push('numSubsets');