Skip to content

Add tests for the DNSCache class#728

Merged
bdraco merged 1 commit into
python-zeroconf:masterfrom
bdraco:dns_cache_api_tests
Jun 18, 2021
Merged

Add tests for the DNSCache class#728
bdraco merged 1 commit into
python-zeroconf:masterfrom
bdraco:dns_cache_api_tests

Conversation

@bdraco
Copy link
Copy Markdown
Member

@bdraco bdraco commented Jun 18, 2021

  • There is currently a bug in the implementation where an entry
    can exist in two places in the cache with different TTLs. Since
    a known answer cannot be both expired and expired at the same
    time, this is a bug that needs to be fixed.

- There is currently a bug in the implementation where an entry
  can exist in two places in the cache with different TTLs. Since
  a known answer cannot be both expired and expired at the same
  time, this is a bug that needs to be fixed.
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 18, 2021

Codecov Report

Merging #728 (6505f6f) into master (9cc834d) will decrease coverage by 0.27%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #728      +/-   ##
==========================================
- Coverage   98.15%   97.88%   -0.28%     
==========================================
  Files          18       18              
  Lines        2171     2171              
  Branches      377      377              
==========================================
- Hits         2131     2125       -6     
- Misses         25       29       +4     
- Partials       15       17       +2     
Impacted Files Coverage Δ
zeroconf/_utils/net.py 91.20% <0.00%> (-3.30%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9cc834d...6505f6f. Read the comment docs.

@bdraco bdraco merged commit ceb79bd into python-zeroconf:master Jun 18, 2021
@bdraco bdraco deleted the dns_cache_api_tests branch June 18, 2021 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants