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

enbility / ship-go / 16119095106
95%

Build:
DEFAULT BRANCH: dev
Ran 07 Jul 2025 02:03PM UTC
Jobs 1
Files 27
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

07 Jul 2025 02:00PM UTC coverage: 88.628% (+0.2%) from 88.476%
16119095106

push

github

DerAndereAndi
⚡️ perf: optimize test execution time to prevent CI timeouts

Reduce test execution time while maintaining effectiveness:

Hub timer tests:
- Reduce TestConnectionDelayTimerLeak from 100 to 20 goroutines
- Reduce connection attempts from 5 to 2 per goroutine (92% reduction)
- Adjust goroutine accumulation threshold from 50 to 20
- Test still effectively detects timer goroutine leaks

Ship timer tests:
- Reduce assert.Eventually timeouts from 2s to 500ms (75% reduction)
- Affects 3 test cases saving ~4.5 seconds total
- Maintain effective goroutine cleanup verification

Race condition test:
- Update expectations to match actual SHIP protocol behavior
- Both approve and abort can succeed if abort catches ReadyListen state
- Add documentation explaining the valid concurrent behavior

These changes prevent test timeouts in CI while preserving test coverage
and leak detection capabilities.

2907 of 3280 relevant lines covered (88.63%)

6935.87 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
87.91
-0.47% hub/hub_connections.go
Jobs
ID Job ID Ran Files Coverage
1 16119095106.1 07 Jul 2025 02:03PM UTC 27
88.63
GitHub Action Run
Source Files on build 16119095106
  • Tree
  • List 27
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16119095106
  • b3ce6313 on github
  • Prev Build on dev (#16118509364)
  • Next Build on dev (#16119432917)
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

© 2025 Coveralls, Inc