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

hyperledger / fabric-x-committer / 21949663635
90%

Build:
DEFAULT BRANCH: main
Ran 12 Feb 2026 02:05PM UTC
Jobs 2
Files 116
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

12 Feb 2026 02:01PM UTC coverage: 88.711% (-0.2%) from 88.926%
21949663635

push

github

web-flow
Fix flaky test by tracking connection state per gRPC target (#313)

#### Type of change

- Bug fix
 
#### Description

ConnectionMetrics used a single connected boolean for all gRPC targets.
This is wrong when there are multiple targets because the boolean cannot
distinguish which target set it.

Example of the bug with 2 verifiers (A, B):
  1. Verifier A connects    → sets shared connected=true
  2. Verifier B fails to open stream → calls Disconnected()
  3. Disconnected() sees connected=true (set by A, not B)
  4. Assumes B was previously connected → increments B's failure counter
  5. But B was never connected — the failure count is wrong

This commit replaces the single boolean with a per-target map so
Disconnected() only counts a failure if that specific target was
previously connected.

#### Related issues

  - resolves #278

Signed-off-by: Senthilnathan <cendhu@gmail.com>

2 of 2 new or added lines in 1 file covered. (100.0%)

23 existing lines in 6 files now uncovered.

9092 of 10249 relevant lines covered (88.71%)

1.29 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
86.59
-1.22% loadgen/adapters/sigverifier.go
2
94.02
-1.71% mock/vcservice.go
4
95.24
-3.17% mock/coordinator.go
4
90.31
-1.76% service/coordinator/validator_committer_manager.go
5
79.35
-2.02% service/sidecar/relay.go
7
80.0
-2.22% service/sidecar/sidecar.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 21949663635.1 12 Feb 2026 02:05PM UTC 116
83.76
GitHub Action Run
2 unit-test - 21949663635.2 12 Feb 2026 02:06PM UTC 72
64.98
GitHub Action Run
Source Files on build 21949663635
  • Tree
  • List 116
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ba43a321 on github
  • Prev Build on main (#21947086182)
  • Next Build on main (#21950916013)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc