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

ovn-kubernetes / libovsdb / 29090914563
50%
main: 48%

Build:
Build:
LAST BUILD BRANCH: conmgr
DEFAULT BRANCH: main
Ran 10 Jul 2026 11:57AM 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

10 Jul 2026 11:55AM UTC coverage: 49.509% (+1.4%) from 48.105%
29090914563

Pull #472

github

dave-tucker
client: test CmdNotLeader endpoint rotation and no-reconnect disconnect

Add two unit tests for the CmdNotLeader code path, which was previously
untested in connection_test.go:

- TestConnectionManagerNotLeaderFailsOver: connect to endpoint A, send
  CmdNotLeader, verify the CM rotates the endpoint list to [B, A],
  reconnects to B, and emits EventReconnected on lifecycleCh.

- TestConnectionManagerNotLeaderNoReconnectDisconnects: send CmdNotLeader
  with no backoff configured; verify the CM transitions to
  StateDisconnected, emits no lifecycle event, and returns
  ErrNotConnected for subsequent RPCs.

Assisted-by: Claude <noreply@anthropic.com>
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
Pull Request #472: client: introduce ConnectionManager to fix reconnect/disconnect panics

808 of 967 new or added lines in 5 files covered. (83.56%)

16 existing lines in 1 file now uncovered.

6550 of 13230 relevant lines covered (49.51%)

134.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
102
82.07
client/connection.go
57
77.2
0.62% client/client.go

Coverage Regressions

Lines Coverage ∆ File
16
77.2
0.62% client/client.go
Jobs
ID Job ID Ran Files Coverage
1 29090914563.1 10 Jul 2026 11:57AM UTC 75
49.51
GitHub Action Run
Source Files on build 29090914563
  • Tree
  • List 75
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #472
  • PR Base - main (#29090871919)
  • 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