mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-27 23:38:08 +00:00
Both files gated their whole contents on XRPL_ENABLE_TELEMETRY, so 54 tests were skipped whenever telemetry was compiled out. The stated reason was that only a telemetry build puts `src/` on this target's include path, but that include path is unconditional, so the tests were reachable all along. Nothing in either file needs the OpenTelemetry SDK. The span-name and outcome headers hold constants and constexpr functions with no telemetry guards, LoadManager::evaluateStall is a static constexpr member, and the handful of guard assertions construct a default SpanGuard, which is inactive in either configuration. SpanNames.h documents this contract for its own constants.
Unit tests
This directory contains unit tests for the project. The difference from existing src/test folder
is that we switch to 3rd party testing framework (gtest). We intend to gradually move existing tests
from our own framework to gtest and such tests will be moved to this new folder.