Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

async tests aren't getting run in trial-olddeps #15430

@squahtx

Description

@squahtx

See https://github.com/matrix-org/synapse/actions/runs/4677776999/jobs/8285741624#step:11:17 for an example.

Exception ignored in: <coroutine object TestSSOHandler.test_set_avatar at 0x7f72088d9c20>
  Traceback (most recent call last):
    File "/opt/hostedtoolcache/Python/3.7.16/x64/lib/python3.7/warnings.py", line 5[18](https://github.com/matrix-org/synapse/actions/runs/4677776999/jobs/8285741624#step:11:19), in _warn_unawaited_coroutine
      warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
  RuntimeWarning: coroutine 'TestSSOHandler.test_set_avatar' was never awaited

The version of trial in the olddeps job likely doesn't support async test cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-CIIssues related to CI on the Synapse repositoryA-TestingIssues related to testing in complement, synapse, etcO-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorBlocks non-critical functionality, workarounds exist.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions