Skip to content

mpd_test.TestAsyncioMPD.test_noresponse fails if run #234

@smcv

Description

@smcv

#222 mostly resolved the test failures reported in #214, but if the test suite is run with RUN_SLOW_TESTS=1, test_noresponse still seems to fail:

======================================================================
FAIL: test_noresponse (mpd_test.TestAsyncioMPD.test_noresponse)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/async_case.py", line 90, in _callTestMethod
    if self._callMaybeAsync(method) is not None:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/async_case.py", line 117, in _callMaybeAsync
    return self._asyncioTestContext.run(func, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/autopkgtest-virt-docker.shared.yo4tw6a0/downtmp/autopkgtest_tmp/mpd_test.py", line 1313, in test_noresponse
    with self.assertRaises(mpd.base.ConnectionError):
AssertionError: ConnectionError not raised

(This is mitigated by test_noresponse being skipped by default.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions