Message412061
Seems that, should I add an "await asyncio.sleep(1)" in asyncTearDown, so getting
class TestConnections(IsolatedAsyncioTestCase):
async def asyncSetUp(self) -> None:
self.proxy = asyncio.create_task(EnergyAgentProxy(self.proxy_port, self.server_port, self.upstream_port))
async def asyncTearDown(self) -> None:
await asyncio.sleep(1)
is enough to "hide the problem under the carpet"... but sounds weird... |
|
Date |
User |
Action |
Args |
2022-01-29 08:53:25 | bluecarrot | set | recipients:
+ bluecarrot, asvetlov, yselivanov |
2022-01-29 08:53:25 | bluecarrot | set | messageid: <1643446405.61.0.639828330927.issue46568@roundup.psfhosted.org> |
2022-01-29 08:53:25 | bluecarrot | link | issue46568 messages |
2022-01-29 08:53:25 | bluecarrot | create | |
|