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

rm-hull / dot-block / 19115631756
51%
main: 43%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/miekg/dns-1.1.72
DEFAULT BRANCH: main
Ran 05 Nov 2025 08:39PM UTC
Jobs 1
Files 6
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

05 Nov 2025 08:39PM UTC coverage: 50.787% (+7.0%) from 43.75%
19115631756

Pull #3

github

rm-hull
test: Refactor DNS tests using local mock server helpers

This commit significantly refactors the DNS dispatcher unit tests to use
dedicated, isolated local mock DNS servers managed by new helper
functions (`startLocalDNS`, `dnsRecord`, and `waitForPort`).

This eliminates complex, manually synchronized inline server setup logic
within individual tests, greatly improving test reliability and
maintainability.

Minor cleanup changes were also applied to `internal/dns.go`:
* Corrects the order of setting the response Rcode and reporting the
  error during upstream failures.
* Removes redundant error logging in `resolveUpstream`.
Pull Request #3: refactor: Refactor DNS handling for granular cache

103 of 115 new or added lines in 1 file covered. (89.57%)

2 existing lines in 1 file now uncovered.

226 of 445 relevant lines covered (50.79%)

0.55 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
12
84.06
8.13% internal/dns.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
84.06
8.13% internal/dns.go
Jobs
ID Job ID Ran Files Coverage
1 19115631756.1 05 Nov 2025 08:39PM UTC 6
50.79
GitHub Action Run
Source Files on build 19115631756
  • Tree
  • List 6
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #3
  • PR Base - main (#19086950487)
  • 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