• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hyperledger / fabric-x-committer / 30749695901 / 1
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: fix/696-integration-port-reservation
DEFAULT BRANCH: main
Ran 02 Aug 2026 01:25PM UTC
Files 131
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Aug 2026 01:15PM UTC coverage: 79.091% (-0.04%) from 79.134%
30749695901.1

Pull #728

github

liran-funaro
[integration-test] Reserve service ports across restarts to fix port races

- Bug fix
- Improvement (improvement to code, performance, etc)

- Allocate each service's gRPC/HTTP ports directly into the process that
  owns them, holding a listener on each from allocation until the subprocess
  binds it, and re-reserving the moment the subprocess stops (`Stop`) so a
  parallel test cannot claim a just-freed port while the service is down.
- Drop the central reservation pool and the allocate-then-transfer machinery
  (`claim`/`claimAll`/`closeAll`); defer config-file writing to a second pass
  once every service endpoint is known, since a template renders the whole
  `SystemConfig`.
- Pre-allocate the load generators in `NewRuntime` like the other services:
  the primary reserves its ports, while the distributed client binds its own
  ephemeral port (nothing dials it). Their config is rendered in `startLoadGen`,
  where the template and worker count are known from the service flags.
- Add `OrdererEnv.ReserveListeners`/`ReleaseListeners` so the orderer test
  environment follows the same stop-then-reserve pattern.

- resolves #696

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
Pull Request #728: [integration-test] Reserve service ports across restarts to fix port races

9150 of 11569 relevant lines covered (79.09%)

32801.32 hits per line

Source Files on job db-test - 30749695901.1
  • Tree
  • List 131
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 30749695901
  • 1e45fa7a on github
  • Prev Job for on fix/696-integration-port-reservation (#30541649421.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc