XRPLF / clio

An XRP Ledger API Server
https://xrpl.org
ISC License
55 stars 48 forks source link

Create generate free port class to avoid conflicting ports #1439

Closed PeterChen13579 closed 1 week ago

PeterChen13579 commented 1 month ago

Fixes #1317

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 67.78%. Comparing base (5ba08b1) to head (489e4d6).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1439 +/- ## ======================================== Coverage 67.78% 67.78% ======================================== Files 233 233 Lines 9418 9418 Branches 5253 5253 ======================================== Hits 6384 6384 Misses 1654 1654 Partials 1380 1380 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

kuznetsss commented 1 month ago

There are also tests/unit/web/ServerTests.cpp, tests/unit/etl/SubscriptionSourceTests.cpp and tests/unit/rpc/ForwardingProxyTests.cpp where we should use random port.