Skip to content

Commit c557817

Browse files
committed
fix(driverBench): driverBench has default options object now
1 parent b848425 commit c557817

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/mongoBench/runner.js

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ const Suite = require('./suite');
6868

6969
class Runner {
7070
constructor(options) {
71+
options = options || {};
7172
this.minExecutionTime = options.minExecutionTime || CONSTANTS.DEFAULT_MIN_EXECUTION_TIME;
7273
this.maxExecutionTime = options.maxExecutionTime || CONSTANTS.DEFAULT_MAX_EXECUTION_TIME;
7374
this.minExecutionCount = options.minExecutionCount || CONSTANTS.DEFAULT_MIN_EXECUTION_COUNT;

0 commit comments

Comments
 (0)