diff options
Diffstat (limited to 'src/mongo/db/commands/async_command_execution_test.cpp')
-rw-r--r-- | src/mongo/db/commands/async_command_execution_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/async_command_execution_test.cpp b/src/mongo/db/commands/async_command_execution_test.cpp index 7e798b2028b..01bec502118 100644 --- a/src/mongo/db/commands/async_command_execution_test.cpp +++ b/src/mongo/db/commands/async_command_execution_test.cpp @@ -72,7 +72,7 @@ struct AsyncCommandExecutionTest::TestState { // Setup the execution context rec = std::make_shared<RequestExecutionContext>(opCtx.get(), mockMessage()); rec->setReplyBuilder(makeReplyBuilder(rpc::protocolForMessage(rec->getMessage()))); - rec->setRequest(rpc::opMsgRequestFromAnyProtocol(rec->getMessage())); + rec->setRequest(rpc::opMsgRequestFromAnyProtocol(rec->getMessage(), opCtx->getClient())); rec->setCommand(CommandHelpers::findCommand(rec->getRequest().getCommandName())); // Setup the invocation |