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

databendlabs / openraft / 25041077250 / 1
87%
main: 87%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2026 08:04AM UTC
Files 261
Run time 7s
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

28 Apr 2026 07:51AM UTC coverage: 86.583% (+0.02%) from 86.561%
25041077250.1

push

github

drmingdrmer
test: turmoil: route openraft RNG and spawn through DeterministicRng

Override `AsyncRuntime` in the test's `TypeConfig` so openraft's
internal `thread_rng()` and `spawn` honor the per-host deterministic
seed already set up by `cluster.rs`.

`declare_raft_types!` defaults `AsyncRuntime` to plain `TokioRuntime`,
whose `thread_rng()` is `rand::rng()` (OS-seeded) and whose `spawn`
is `tokio::spawn`. Each host enters `DeterministicRng::scope`, but
plain runtime calls bypass the task-local `DETSIM_SEED` entirely —
election timeouts and child-task seeds came from the OS RNG, so the
cluster diverged across runs even after the prior fuzz-driver
determinism fix.

`DeterministicRng<TokioRuntime>` routes both `thread_rng()` and
`spawn` through the wrapper that consults `DETSIM_SEED`, completing
the determinism story for `--reproduce`.

16294 of 18819 relevant lines covered (86.58%)

119041.28 hits per line

Source Files on job 25041077250.1
  • Tree
  • List 261
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25041077250
  • e8cbb75f on github
  • Prev Job for on main (#24997322737.1)
  • Next Job for on main (#25172785578.1)
  • Delete
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