From ccac542d74e706bbb5df50be4a97d5f817a2de21 Mon Sep 17 00:00:00 2001 From: Arun Banala Date: Mon, 30 Aug 2021 20:55:33 +0100 Subject: SERVER-59164 All write commands on sharded time-series namespace should translate to buckets namespace, on mongos --- src/mongo/s/write_ops/batch_write_op_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mongo/s/write_ops/batch_write_op_test.cpp') diff --git a/src/mongo/s/write_ops/batch_write_op_test.cpp b/src/mongo/s/write_ops/batch_write_op_test.cpp index 224aa009b69..43fc32f13b2 100644 --- a/src/mongo/s/write_ops/batch_write_op_test.cpp +++ b/src/mongo/s/write_ops/batch_write_op_test.cpp @@ -248,7 +248,8 @@ TEST_F(BatchWriteOpTest, SingleWriteConcernErrorOrdered) { ASSERT_EQUALS(targeted.size(), 1u); assertEndpointsEqual(targeted.begin()->second->getEndpoint(), endpoint); - BatchedCommandRequest targetBatch = batchOp.buildBatchRequest(*targeted.begin()->second); + BatchedCommandRequest targetBatch = + batchOp.buildBatchRequest(*targeted.begin()->second, targeter); ASSERT(targetBatch.getWriteConcern().woCompare(request.getWriteConcern()) == 0); BatchedCommandResponse response; -- cgit v1.2.1