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

hyperledger / fabric-x-committer / 30889223181
91%

Build:
DEFAULT BRANCH: main
Ran 04 Aug 2026 07:51AM UTC
Jobs 3
Files 131
Run time 1min
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

04 Aug 2026 07:47AM UTC coverage: 91.248% (+0.2%) from 91.067%
30889223181

push

github

web-flow
[integration-test] Reserve service ports across restarts to fix port races (#728)

- 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

- resolves #738

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>

10613 of 11631 relevant lines covered (91.25%)

32947.22 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
95.83
0.83% mock/coordinator.go
2
86.76
1.13% service/vc/database.go
1
98.88
1.12% mock/sigverifier.go
1
94.95
-1.01% loadgen/adapters/common.go
Jobs
ID Job ID Ran Files Coverage
1 unit-test - 30889223181.1 04 Aug 2026 07:53AM UTC 95
84.56
GitHub Action Run
2 db-test - 30889223181.2 04 Aug 2026 07:53AM UTC 131
79.01
GitHub Action Run
3 core-db-test - 30889223181.3 04 Aug 2026 07:51AM UTC 100
46.89
GitHub Action Run
Source Files on build 30889223181
  • Tree
  • List 131
  • Changed 17
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4cfadd4a on github
  • Prev Build on main (#30811029382)
  • Next Build on main (#30889387935)
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