• 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 / 24031798857
91%
main: 92%

Build:
Build:
LAST BUILD BRANCH: rm-gpl-tools
DEFAULT BRANCH: main
Ran 06 Apr 2026 12:34PM UTC
Jobs 2
Files 128
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

06 Apr 2026 12:26PM UTC coverage: 91.412% (-0.007%) from 91.419%
24031798857

Pull #504

github

cendhu
[mock] fix flaky TestOrderer by making SubmitEnv synchronous

Root cause: The inEnvs channel is buffered, so SubmitEnv returns
immediately without the Run goroutine having processed the envelope.
When CutBlock 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 SubmitEnv block until the envelope is collected by Run().
Introduce envelopeEntry which wraps an envelope with an optional
Ready signal. SubmitEnv (test helper) sends with a signal and waits;
Broadcast (gRPC) sends without one, preserving buffered throughput
for load generation.

CutBlock remains a simple fire-and-forget signal — it doesn't need
to wait since SubmitEnv already guarantees collection.

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

19 of 21 new or added lines in 1 file covered. (90.48%)

17 existing lines in 6 files now uncovered.

10005 of 10945 relevant lines covered (91.41%)

41544.51 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
90.77
-0.84% mock/orderer.go

Coverage Regressions

Lines Coverage ∆ File
7
83.28
-2.17% service/sidecar/sidecar.go
3
83.12
-0.43% service/sidecar/relay.go
2
97.87
0.0% service/verifier/verifier_server.go
2
90.77
-0.84% mock/orderer.go
2
85.76
-0.68% service/query/batcher.go
1
86.42
-1.23% loadgen/adapters/verifier.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 24031798857.1 06 Apr 2026 12:47PM UTC 128
84.4
GitHub Action Run
2 unit-test - 24031798857.2 06 Apr 2026 12:34PM UTC 81
75.4
GitHub Action Run
Source Files on build 24031798857
  • Tree
  • List 128
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #504
  • PR Base - main (#24022801986)
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