iotests/iothreads-stream: Use the right TimeoutError
commitc9c0b37ff4c11b712b21efabe8e5381d223d0295
authorKevin Wolf <kwolf@redhat.com>
Thu, 25 Jan 2024 15:21:50 +0000 (25 16:21 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 26 Jan 2024 11:26:35 +0000 (26 12:26 +0100)
tree07a9a09a08e3e00feda76feaf8cbe51336999914
parent63b18312d14ac984acaf13c7c55d9baa2d61496e
iotests/iothreads-stream: Use the right TimeoutError

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 <kwolf@redhat.com>
Message-ID: <20240125152150.42389-1-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/tests/iothreads-stream