summaryrefslogtreecommitdiff
path: root/jstests/libs
diff options
context:
space:
mode:
authorA. Jesse Jiryu Davis <jesse@mongodb.com>2022-03-10 13:00:44 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-03-10 13:34:05 +0000
commit76a2683fd01c74100104b05563073e1e0dc59d96 (patch)
tree01ab80e7c4d7f99413a36415848f78e5096763b4 /jstests/libs
parent9f8769859bee0824c0bfdbc78abfdc634c87f4b8 (diff)
downloadmongo-76a2683fd01c74100104b05563073e1e0dc59d96.tar.gz
SERVER-63397 Abort all index builds during shard merge
Diffstat (limited to 'jstests/libs')
-rw-r--r--jstests/libs/fail_point_util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/libs/fail_point_util.js b/jstests/libs/fail_point_util.js
index c01c1d593e0..7572a753a81 100644
--- a/jstests/libs/fail_point_util.js
+++ b/jstests/libs/fail_point_util.js
@@ -23,7 +23,7 @@ configureFailPoint = function(conn, failPointName, data = {}, failPointMode = "a
{configureFailPoint: failPointName, mode: failPointMode, data: data}))
.count,
wait:
- function(maxTimeMS = kDefaultWaitForFailPointTimeout, timesEntered = 1) {
+ function({maxTimeMS = kDefaultWaitForFailPointTimeout, timesEntered = 1} = {}) {
// Can only be called once because this function does not keep track of the
// number of times the fail point is entered between the time it returns
// and the next time it gets called.