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

hyperledger / fabric-x-committer / 29507284342
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: loadgen-probability-validation
DEFAULT BRANCH: main
Ran 16 Jul 2026 02:38PM UTC
Jobs 3
Files 129
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

16 Jul 2026 02:33PM UTC coverage: 91.436% (-0.3%) from 91.699%
29507284342

Pull #677

github

liran-funaro
[test] fix flaky TestSignatureVerifierManagerPolicyUpdateAndRecover

Batch submission ran inside require.Eventually/require.Never conditions.
testify runs the condition in its own goroutine and, once waitFor
elapses, returns without waiting for it. submitTxBatch blocks on a full
input channel, so a condition that submitted leaked a goroutine past the
assertion that then (1) submitted stray batches into a later phase of the
test and (2) raced on the reassigned verifierStreams variable (an
observed data race). The stray flooding also kept signVerifier[0] parked
on a channel write, so a stopped server went undetected within the 30s
window and the connection metric stayed Connected.

Submit batches from a dedicated background goroutine that is started
before, and stopped after, each require.Eventually/require.Never, and
keep the conditions side-effect-free (pure reads of atomics and stable
locals). t.Cleanup tears the submitter down even if the test fails first.

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
Pull Request #677: [test] fix flaky TestSignatureVerifierManagerPolicyUpdateAndRecover

10420 of 11396 relevant lines covered (91.44%)

42822.71 hits per line

Coverage Regressions

Lines Coverage ∆ File
15
78.29
-2.91% service/sidecar/sidecar.go
6
84.7
-1.64% service/vc/database.go
4
88.31
-2.6% service/vc/committer.go
4
91.27
-1.75% service/vc/validator_committer_service.go
4
86.24
-3.67% loadgen/adapters/broadcast.go
2
92.35
-0.53% mock/orderer.go
1
97.5
2.5% mock/coordinator.go
1
94.95
-1.01% loadgen/adapters/common.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 29507284342.1 16 Jul 2026 02:40PM UTC 129
79.64
GitHub Action Run
2 unit-test - 29507284342.2 16 Jul 2026 02:41PM UTC 93
83.57
GitHub Action Run
3 core-db-test - 29507284342.3 16 Jul 2026 02:38PM UTC 100
45.16
GitHub Action Run
Source Files on build 29507284342
  • Tree
  • List 129
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #677
  • PR Base - main (#29421861922)
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