diff options
author | Arun Banala <arun.banala@mongodb.com> | 2021-08-30 20:55:33 +0100 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-08-31 13:41:49 +0000 |
commit | ccac542d74e706bbb5df50be4a97d5f817a2de21 (patch) | |
tree | 767c99b4a94855ac2726a5c5f2417820a9841d0f /src/mongo/s/write_ops/batch_write_op_test.cpp | |
parent | 61efca02fadc86178a0effd8ad6d60a77b265dca (diff) | |
download | mongo-ccac542d74e706bbb5df50be4a97d5f817a2de21.tar.gz |
SERVER-59164 All write commands on sharded time-series namespace should translate to buckets namespace, on mongos
Diffstat (limited to 'src/mongo/s/write_ops/batch_write_op_test.cpp')
-rw-r--r-- | src/mongo/s/write_ops/batch_write_op_test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; |