Skip to content

Commit

Permalink
TC-SC-4.3: Clear cache before sending request (project-chip#37362)
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille authored Feb 5, 2025
1 parent b9ca3a8 commit 64fdf76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python_testing/mdns_discovery/mdns_discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,8 @@ async def _query_service_info(self, zeroconf: Zeroconf, service_type: str, servi
"""
# Get service info
service_info = AsyncServiceInfo(service_type, service_name)
is_service_discovered = await service_info.async_request(zeroconf, 3000)
service_info.async_clear_cache()
is_service_discovered = await service_info.async_request(zeroconf, 3000)

if is_service_discovered:
if self._verbose_logging:
Expand Down

0 comments on commit 64fdf76

Please sign in to comment.