This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Copy link
Copy link
Closed
Labels
A-CIIssues related to CI on the Synapse repositoryIssues related to CI on the Synapse repositoryA-TestingIssues related to testing in complement, synapse, etcIssues related to testing in complement, synapse, etcO-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-MinorBlocks non-critical functionality, workarounds exist.Blocks non-critical functionality, workarounds exist.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Description
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
Labels
A-CIIssues related to CI on the Synapse repositoryIssues related to CI on the Synapse repositoryA-TestingIssues related to testing in complement, synapse, etcIssues related to testing in complement, synapse, etcO-UncommonMost users are unlikely to come across this or unexpected workflowMost users are unlikely to come across this or unexpected workflowS-MinorBlocks non-critical functionality, workarounds exist.Blocks non-critical functionality, workarounds exist.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.Bugs, crashes, hangs, security vulnerabilities, or other reported issues.