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

cenkalti / rain / 27311133125
41%

Build:
DEFAULT BRANCH: master
Ran 10 Jun 2026 10:44PM UTC
Jobs 1
Files 127
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

10 Jun 2026 10:43PM UTC coverage: 40.808% (+2.7%) from 38.09%
27311133125

push

github

jakealti
test: add harnesses for peer and announcer

Drive the two goroutine-actor packages deterministically without the
full torrent loop:

- peer: a harness wires a Peer to a remote peerconn.Conn over net.Pipe
  and verifies the Run loop forwards received messages and pieces,
  surfaces choke/unchoke/request sends, reports disconnect when the
  remote closes, and fires the snub timer; plus a white-box clientID
  parser test (0%->46%).
- announcer: a fake tracker.Tracker drives PeriodicalAnnouncer through
  the started/completed/error paths and Stats; StopAnnouncer sends
  stopped to every tracker; DHTAnnouncer runs its announce func; plus
  newAnnounceError mapping and AnnounceError.ErrorWithType (0%->54%).

No goleak TestMain (matches the connection-package convention and peer's
go-metrics meter arbiter); every harness drains cleanly on Close. Stable
over 10x -race runs.

4881 of 11961 relevant lines covered (40.81%)

46.97 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
69.48
-0.8% internal/tracker/udptracker/transport.go
2
43.9
0.61% torrent/torrent_messagehandler.go
Jobs
ID Job ID Ran Files Coverage
1 27311133125.1 10 Jun 2026 10:44PM UTC 127
40.81
GitHub Action Run
Source Files on build 27311133125
  • Tree
  • List 127
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cbe49bcb on github
  • Prev Build on master (#27310795747)
  • Next Build on master (#27312023124)
  • 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