Re: [PATCH] iotests/iothreads-stream: Use the right TimeoutError

2024-01-29 Thread Stefan Hajnoczi
On Thu, Jan 25, 2024 at 04:21:50PM +0100, Kevin Wolf wrote: > Since Python 3.11 asyncio.TimeoutError is an alias for TimeoutError, but > in older versions it's not. We really have to catch asyncio.TimeoutError > here, otherwise a slow test run will fail (as has happened multiple > times on CI recen

[PATCH] iotests/iothreads-stream: Use the right TimeoutError

2024-01-25 Thread Kevin Wolf
Since Python 3.11 asyncio.TimeoutError is an alias for TimeoutError, but in older versions it's not. We really have to catch asyncio.TimeoutError here, otherwise a slow test run will fail (as has happened multiple times on CI recently). Signed-off-by: Kevin Wolf --- tests/qemu-iotests/tests/ioth