summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding/resharding_oplog_batch_applier_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_oplog_batch_applier_test.cpp')
-rw-r--r--src/mongo/db/s/resharding/resharding_oplog_batch_applier_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding/resharding_oplog_batch_applier_test.cpp b/src/mongo/db/s/resharding/resharding_oplog_batch_applier_test.cpp
index c21596f18e5..9691a947954 100644
--- a/src/mongo/db/s/resharding/resharding_oplog_batch_applier_test.cpp
+++ b/src/mongo/db/s/resharding/resharding_oplog_batch_applier_test.cpp
@@ -287,7 +287,7 @@ private:
ChunkManager makeChunkManagerForSourceCollection() {
const OID epoch = OID::gen();
std::vector<ChunkType> chunks = {ChunkType{
- _sourceNss,
+ _sourceUUID,
ChunkRange{BSON(_currentShardKey << MINKEY), BSON(_currentShardKey << MAXKEY)},
ChunkVersion(100, 0, epoch, boost::none /* timestamp */),
_myDonorId}};