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

hyperledger / fabric-x-committer / 21990014289
89%
main: 91%

Build:
Build:
LAST BUILD BRANCH: fix/696-integration-port-reservation
DEFAULT BRANCH: main
Ran 13 Feb 2026 02:18PM 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

13 Feb 2026 02:14PM UTC coverage: 88.801% (-0.02%) from 88.82%
21990014289

Pull #314

github

cendhu
Refactor DB container lifecycle to use shared TestMain container

  - Refactor container methods to return errors instead of calling t.Fatal()
  - Add SetupSharedContainer()/CleanupSharedContainer() for TestMain
  - Use UUID-suffixed container names and auto-assigned host ports
  - Remove findContainer() — always create fresh containers
  - Move real DB setup out of StartDefaultSystem() into tests that need it

Signed-off-by: Senthilnathan <cendhu@gmail.com>
Pull Request #314: Refactor DB container lifecycle to use shared TestMain container

15 of 18 new or added lines in 2 files covered. (83.33%)

21 existing lines in 4 files now uncovered.

9127 of 10278 relevant lines covered (88.8%)

1.29 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
94.74
42.36% utils/dbconn/database_connection.go
1
81.67
0.63% service/vc/dbinit.go

Coverage Regressions

Lines Coverage ∆ File
10
85.48
-1.08% service/vc/database.go
5
94.44
-3.97% mock/coordinator.go
4
80.0
-3.64% service/vc/validator.go
2
91.19
0.0% service/coordinator/validator_committer_manager.go
Jobs
ID Job ID Ran Files Coverage
1 db-test - 21990014289.1 13 Feb 2026 02:18PM UTC 116
83.79
GitHub Action Run
2 unit-test - 21990014289.2 13 Feb 2026 02:20PM UTC 72
65.37
GitHub Action Run
Source Files on build 21990014289
  • Tree
  • List 116
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #314
  • PR Base - main (#21950916013)
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