Skip to content

Fix race condition in ServiceBrowser test_integration#762

Merged
bdraco merged 1 commit into
python-zeroconf:masterfrom
bdraco:race_servicebrowser_test
Jun 20, 2021
Merged

Fix race condition in ServiceBrowser test_integration#762
bdraco merged 1 commit into
python-zeroconf:masterfrom
bdraco:race_servicebrowser_test

Conversation

@bdraco

@bdraco bdraco commented Jun 20, 2021

Copy link
Copy Markdown
Member
  • The event was being cleared in the wrong thread which
    meant if the test was fast enough it would not be seen
    the second time and give a spurious failure

- The event was being cleared in the wrong thread which
  meant if the test was fast enough it would not be seen
  the second time and give a spurious failure
@codecov-commenter

codecov-commenter commented Jun 20, 2021

Copy link
Copy Markdown

Codecov Report

Merging #762 (842ad80) into master (936500a) will increase coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #762      +/-   ##
==========================================
+ Coverage   98.63%   98.68%   +0.04%     
==========================================
  Files          20       20              
  Lines        2198     2198              
  Branches      375      375              
==========================================
+ Hits         2168     2169       +1     
  Misses         18       18              
+ Partials       12       11       -1     
Impacted Files Coverage Δ
zeroconf/_utils/aio.py 97.87% <0.00%> (+2.12%) ⬆️

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 936500a...842ad80. Read the comment docs.

@bdraco bdraco merged commit fc0e599 into python-zeroconf:master Jun 20, 2021
@bdraco bdraco deleted the race_servicebrowser_test branch June 20, 2021 04:21
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