Skip to content

Many tests still remain slow #1700

Closed

Description

@bdraco
============================ slowest 20 durations =============================
3.96s call     tests/test_asyncio.py::test_service_info_async_request
3.31s call     tests/test_core.py::Framework::test_async_updates_from_response
3.02s call     tests/services/test_info.py::TestServiceInfo::test_get_info_suppressed_by_question_history
3.01s call     tests/services/test_info.py::test_we_try_four_times_with_random_delay
2.99s call     tests/test_handlers.py::test_response_aggregation_timings
2.77s call     tests/test_handlers.py::test_response_aggregation_timings_multiple
2.17s call     tests/test_services.py::ListenerTest::test_integration_with_listener_class
1.99s call     tests/test_asyncio.py::test_async_wait_unblocks_on_update
1.98s call     tests/test_updates.py::test_legacy_record_update_listener
1.98s call     tests/services/test_browser.py::test_close_zeroconf_without_browser_after_start_up_queries
1.97s call     tests/services/test_browser.py::test_asking_default_is_asking_qm_questions_after_the_first_qu
1.97s call     tests/services/test_browser.py::test_close_zeroconf_without_browser_before_start_up_queries
1.97s call     tests/test_core.py::test_register_service_with_custom_ttl
1.96s call     tests/test_handlers.py::test_qu_response
1.96s call     tests/test_core.py::test_logging_packets
1.96s call     tests/test_asyncio.py::test_async_context_manager
1.94s call     tests/test_asyncio.py::test_integration
1.92s call     tests/services/test_browser.py::test_legacy_record_update_listener
1.91s call     tests/test_handlers.py::test_ptr_optimization
1.90s call     tests/services/test_browser.py::test_ttl_refresh_cancelled_rescue_query
============ 334 passed, 4 skipped, 1 warning in 84.83s (0:01:24) =============

Activity

  1. bdraco commented on May 17, 2026

    @bdraco
    MemberAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions