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

go-pkgz / auth / 32996657339
87%

Build:
DEFAULT BRANCH: master
Ran 26 Aug 2026 05:56PM UTC
Jobs 1
Files 25
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

26 Aug 2026 05:53PM UTC coverage: 86.097% (+0.05%) from 86.05%
32996657339

push

github

umputun
fix: stop TestApplePublicKey_Fetch flaking on a shared port

The mock keys server bound a hardcoded 8982, which apple_test.go and
oauth2_test.go also use, and started it with `go func() { _ =
ts.ListenAndServe() }()`. A bind failure was therefore discarded: with the
port still held the goroutine returned at once, the fixed 100ms "let them
start" sleep passed anyway, and the test failed on the request instead, which
is why it did not reproduce on a re-run.

httptest.NewServer takes an ephemeral port and is listening when it returns,
removing the shared port, the sleep and the swallowed error together.

Also in the handler: t.Errorf instead of t.Fatalf, since FailNow is only valid
on the test goroutine, and /no-answer waits on the request context rather than
sleeping 3s past the caller giving up.

3214 of 3733 relevant lines covered (86.1%)

9.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32996657339.1 26 Aug 2026 05:56PM UTC 25
86.1
GitHub Action Run
Source Files on build 32996657339
  • Tree
  • List 25
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5653bd46 on github
  • Prev Build on master (#32813160604)
  • Next Build on master (#32997592455)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc