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

codozor / fwkeeper / 19614079436
45%

Build:
DEFAULT BRANCH: main
Ran 23 Nov 2025 04:30PM UTC
Jobs 1
Files 13
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

23 Nov 2025 04:30PM UTC coverage: 49.624% (+3.4%) from 46.241%
19614079436

push

github

web-flow
✅ test: Add forwarder integration tests (#9)

Implement 7 comprehensive integration tests for the Forwarder package to verify
core port-forwarding logic, retry behavior, and graceful shutdown.

## Tests Added

**Integration Tests** (internal/forwarder/forwarder_test.go)
1. **TestForwarderStartWithValidPod** - Happy path: pod located successfully
2. **TestForwarderLocatorError** - Retry behavior when locator fails (pod not found)
3. **TestForwarderRetryAttemptIncrement** - Verify attempt counter increments on failures
4. **TestForwarderContextCancellation** - Graceful shutdown on context cancellation
5. **TestForwarderInfoString** - Forwarder info formatting for logs
6. **TestForwarderCalculateBackoff** - Exponential backoff calculation with max delay enforcement
7. **TestForwarderConfig** - Config getter method verification

396 of 798 relevant lines covered (49.62%)

0.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19614079436.1 23 Nov 2025 04:30PM UTC 13
49.62
GitHub Action Run
Source Files on build 19614079436
  • Tree
  • List 13
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0a58895d on github
  • Prev Build on main (#19613489468)
  • Next Build on main (#19614936618)
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