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

databendlabs / openraft / 20364941290
88%

Build:
DEFAULT BRANCH: main
Ran 19 Dec 2025 08:58AM UTC
Jobs 1
Files 239
Run time 393min
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

19 Dec 2025 08:48AM UTC coverage: 92.304% (-0.08%) from 92.386%
20364941290

push

github

drmingdrmer
test: add tests verifying async callbacks are awaited

Add tests to ensure that futures returned by `on_leader_change()` and
`on_cluster_leader_change()` callbacks are actually polled to completion,
not discarded.

Changes:
- Add `on_leader_change_future_is_awaited` test for start/stop callbacks
- Add `on_cluster_leader_change_future_is_awaited` test for cluster callback
- Use `tokio::task::yield_now().await` as await point to verify future execution

15232 of 16502 relevant lines covered (92.3%)

147174.31 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
90.0
-0.25% openraft/src/core/raft_core.rs
3
79.17
-12.5% openraft/src/core/sm/handle.rs
3
51.06
-3.19% openraft/src/error/storage_error.rs
3
82.8
-3.23% openraft/src/replication/snapshot_transmitter.rs
3
0.0
-50.0% openraft/src/type_config/async_runtime/mpsc_unbounded/send_error.rs
17
91.4
0.22% openraft/src/raft/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 20364941290.1 19 Dec 2025 08:58AM UTC 239
92.3
GitHub Action Run
Source Files on build 20364941290
  • Tree
  • List 239
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20364941290
  • 1228c3d1 on github
  • Prev Build on main (#20362679221)
  • Next Build on main (#20372009949)
  • 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