diff options
author | Natalie Tsvetkova <natalie.tsvetkova@mongodb.com> | 2018-11-12 13:34:26 -0500 |
---|---|---|
committer | Natalie Tsvetkova <natalie.tsvetkova@mongodb.com> | 2018-11-13 16:21:20 -0500 |
commit | 7b0362b91d01a40bb19398d11381516a0783aa67 (patch) | |
tree | 1d7accff8d3154bab16aae7901bddbc5436db35a /src/mongo/db/commands.h | |
parent | 993eb907d60eecc680dbee5eb8ced72a8533e9b7 (diff) | |
download | mongo-7b0362b91d01a40bb19398d11381516a0783aa67.tar.gz |
SERVER-38054: failCommand fail point causes errors when run concurrently with other tests
Diffstat (limited to 'src/mongo/db/commands.h')
-rw-r--r-- | src/mongo/db/commands.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/commands.h b/src/mongo/db/commands.h index d2445729ee8..71e75362643 100644 --- a/src/mongo/db/commands.h +++ b/src/mongo/db/commands.h @@ -252,7 +252,9 @@ struct CommandHelpers { /** * Checks if the command passed in is in the list of failCommands defined in the fail point. */ - static bool shouldActivateFailCommandFailPoint(const BSONObj& data, StringData cmdName); + static bool shouldActivateFailCommandFailPoint(const BSONObj& data, + StringData cmdName, + Client* client); /** * Possibly uasserts according to the "failCommand" fail point. |