Skip to content

Commit

Permalink
fix(driverBench): driverBench has default options object now
Browse files Browse the repository at this point in the history
  • Loading branch information
daprahamian committed Apr 9, 2018
1 parent b848425 commit c557817
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/mongoBench/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const Suite = require('./suite');

class Runner {
constructor(options) {
options = options || {};
this.minExecutionTime = options.minExecutionTime || CONSTANTS.DEFAULT_MIN_EXECUTION_TIME;
this.maxExecutionTime = options.maxExecutionTime || CONSTANTS.DEFAULT_MAX_EXECUTION_TIME;
this.minExecutionCount = options.minExecutionCount || CONSTANTS.DEFAULT_MIN_EXECUTION_COUNT;
Expand Down

0 comments on commit c557817

Please sign in to comment.