Skip to content

Fix failing send-path expectation in tests.test_quic_recovery_live_runtime_integration #20

@MichaelDecent

Description

@MichaelDecent

Summary

tests.test_quic_recovery_live_runtime_integration currently has a failing runtime-send-path assertion in test_handler_defers_and_flushes_recovery_blocked_datagrams.

Reproduction

uv run python -m unittest -v tests.test_quic_recovery_live_runtime_integration

Current result

  • Ran: 4 tests
  • Failures: 1
  • Failing test:
    • test_handler_defers_and_flushes_recovery_blocked_datagrams

Failure details

At:

  • tests/test_quic_recovery_live_runtime_integration.py:89

Assertion:

self.assertEqual(len(session.pending_outbound), 1)

Observed:

  • len(session.pending_outbound) == 0
  • failure: AssertionError: 0 != 1

Notes

The other three tests in this module pass, suggesting behavior drift is localized to the deferred/flush outbound queue expectation for the recovery-blocked datagram path.

Acceptance criteria

  • Align test expectation and runtime behavior for recovery-blocked datagram deferral/flush semantics.
  • uv run python -m unittest -v tests.test_quic_recovery_live_runtime_integration passes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions