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

hyperledger / fabric-x-committer / 29756843948 / 3
91%
main: 91%

Build:
DEFAULT BRANCH: main
Ran 20 Jul 2026 03:54PM UTC
Files 98
Run time 3s
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

20 Jul 2026 03:48PM UTC coverage: 46.102% (+0.4%) from 45.732%
29756843948.3

push

github

web-flow
[loadgen] Remove the workload distribution (#688)

#### Type of change

- Improvement
 
#### Description

- The load generator's `Distribution` descriptor supported five variants
(`const`, `uniform`, `normal`, `bernoulli`, `discrete`), but only
`const` was ever used. Load generation holds each parameter at a fixed
value so results are deterministic and comparable across runs, so the
unused variants only added config surface, sample-YAML documentation,
generator types, and tests with no realized benefit. This collapses
`Distribution` down to plain constant values.

- Delete `distributions.go` and the orphaned
`Const`/`FloatToInt`/`FloatToPositiveInt`/`FloatToBoolean` generators;
`MultiGenerator.Count` is now a plain `int`.
- Replace the `*Distribution` profile fields with plain scalars:
read/read-write/blind-write counts and query size become `uint32`, the
minimal invalid-keys portion becomes `Probability`, and the dependency
gap becomes `uint64` (min 1).
- Keep per-transaction conflict injection (invalid signatures and
dependency probability) via a small `bernoulliGenerator` (`rnd.Float64()
< p`) with identical semantics to the previous Bernoulli-based path.
- Update the sample `loadgen.yaml` documentation and the affected tests.

#### Related issues

- resolves #682
- address #46

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>

3560 of 7722 relevant lines covered (46.1%)

0.5 hits per line

Source Files on job core-db-test - 29756843948.3
  • Tree
  • List 98
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 29756843948
  • 4ece72e7 on github
  • Prev Job for on main (#29753106335.2)
  • Next Job for on main (#29826905697.3)
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