Open
Description
What happened?
The tests, for example tests/actor/test_battery_status.py::TestBatteryStatus::test_async_battery_status
, get stuck waiting forever if we upgrade to 2.13.0+.
What did you expect instead?
Tests work as with 2.12.0.
Affected version(s)
No response
Affected part(s)
Unit, integration and performance tests (part:tests), Build script, CI, dependencies, etc. (part:tooling)
Extra information
The problem seems to be that asyncio.sleep()
breaks, and blocks forever. This needs investigation to see if it is something of our environment or a regression in time-machine.
A quick investigation shows that it is stuck only when tick=False
, so it is probably related to the new support for the monotonic clock in 2.13.0, I guess now the monotonic clock stops now too and in 2.12.0 it didn't.
Related upstream issue:
Metadata
Metadata
Assignees
Labels
Type
Projects
Status