• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

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

Build:
Build:
LAST BUILD BRANCH: bench-report-metrics
DEFAULT BRANCH: main
Ran 31 Mar 2026 01:19PM UTC
Jobs 2
Files 127
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

31 Mar 2026 01:13PM UTC coverage: 91.25% (-0.2%) from 91.421%
23799225852

Pull #504

github

cendhu
[mock] fix flaky TestOrderer by making CutBlock synchronous

Root cause: The inEnvs channel is buffered, so SubmitEnv returns
immediately without the Run goroutine having processed the envelope.
When CutBlock (unbuffered) is called next, Go's select may pick the
cutBlock case before the inEnvs case, causing sendBlockData to operate
on empty data — no block is created and the test hangs.

Fix: Make CutBlock synchronous using a Ready channel so it blocks until
the cut completes. The cutBlock handler drains all buffered envelopes
before cutting, and since CutBlock now blocks the caller, no new
envelopes can be submitted during the drain.

Signed-off-by: Senthilnathan <cendhu@gmail.com>
Pull Request #504: [mock] fix flaky TestOrderer by making CutBlock synchronous

21 of 25 new or added lines in 1 file covered. (84.0%)

31 existing lines in 7 files now uncovered.

9991 of 10949 relevant lines covered (91.25%)

42105.33 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
89.61
-1.38% mock/orderer.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
97.87
0.0% service/verifier/verifier_server.go
2
89.61
-1.38% mock/orderer.go
4
88.61
-2.53% service/vc/committer.go
4
82.7
-1.08% service/vc/database.go
5
82.25
-2.16% service/sidecar/relay.go
7
91.88
-2.99% service/vc/validator_committer_service.go
7
83.28
-2.17% service/sidecar/sidecar.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 23799225852.1 31 Mar 2026 01:20PM UTC 127
84.22
GitHub Action Run
2 unit-test - 23799225852.2 31 Mar 2026 01:19PM UTC 80
75.31
GitHub Action Run
Source Files on build 23799225852
  • Tree
  • List 127
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #504
  • PR Base - main (#23796255643)
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