summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding/resharding_oplog_applier_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_oplog_applier_test.cpp')
-rw-r--r--src/mongo/db/s/resharding/resharding_oplog_applier_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding/resharding_oplog_applier_test.cpp b/src/mongo/db/s/resharding/resharding_oplog_applier_test.cpp
index 0d44ab77f64..0d798bef5e5 100644
--- a/src/mongo/db/s/resharding/resharding_oplog_applier_test.cpp
+++ b/src/mongo/db/s/resharding/resharding_oplog_applier_test.cpp
@@ -155,7 +155,7 @@ public:
_cm = createChunkManagerForOriginalColl();
_metrics = std::make_unique<ReshardingMetrics>(getServiceContext());
- _metrics->onStart();
+ _metrics->onStart(getServiceContext()->getFastClockSource()->now());
_metrics->setRecipientState(RecipientStateEnum::kApplying);
}