fix(tests): add getMetricsRegistry() override to TestServiceRegistry

ServiceRegistry gained the pure virtual getMetricsRegistry() in phase 7
but TestServiceRegistry was never updated. Returns nullptr since tests
don't need a real MetricsRegistry.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Pratik Mankawde
2026-06-01 16:32:43 +01:00
parent 5697e43921
commit 124e3a154d

View File

@@ -334,6 +334,12 @@ public:
throw std::logic_error("TestServiceRegistry::getTelemetry() not implemented");
}
telemetry::MetricsRegistry*
getMetricsRegistry() override
{
return nullptr;
}
// Configuration and state
bool
isStopping() const override