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

prisma-risk / tsoracle / 26373691161
95%

Build:
DEFAULT BRANCH: main
Ran 24 May 2026 09:57PM UTC
Jobs 1
Files 75
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

24 May 2026 09:49PM UTC coverage: 94.917% (-0.05%) from 94.968%
26373691161

push

github

web-flow
test(driver-openraft): run the harness tests under tokio virtual time (#319)

The openraft harness tests waited on real wall-clock budgets — timeout(5–10s)
for leader election, tokio::time::sleep(500ms) past election_timeout, eventually_eq
poll loops — over openraft's internally-driven RaftCore (heartbeat 50ms, election
150–300ms). Slow/contended CI overran those budgets, the same flake class as the
paxos harness.

Unlike omnipaxos, openraft is not manually tick-driven — RaftCore runs its own
async loop on tokio timers, so the paxos step-driver doesn't apply (and madsim is
out: every test is RocksDB-backed). The fix is tokio virtual time: switch each
test from `#[tokio::test(flavor = "multi_thread")]` to
`#[tokio::test(start_paused = true)]`. The paused clock auto-advances when the
runtime is idle, so openraft's election/heartbeat timers and the tests' own
sleeps/timeouts fire in simulated time — instantly and without wall-clock
variance — while real RocksDB storage, MemNetwork, partition isolate/heal, and
snapshot transfer all stay under test.

No production changes; test-attribute-only. Every integration test now runs in
~0.1–0.2s (was 5–10s budgets) and is deterministic (5/5 across repeats).

11298 of 11903 relevant lines covered (94.92%)

477188.26 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
77.21
-4.41% crates/tsoracle-openraft-toolkit/src/test_fakes/mem_network.rs
Jobs
ID Job ID Ran Files Coverage
1 26373691161.1 24 May 2026 09:56PM UTC 75
94.92
GitHub Action Run
Source Files on build 26373691161
  • Tree
  • List 75
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26373691161
  • 0fffe58b on github
  • Prev Build on main (#26373165176)
  • Next Build on main (#26373768393)
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