From eb838a27face0ee3c9b5d5741506ba5aa2dda6ba Mon Sep 17 00:00:00 2001 From: NguyenHoangSon96 Date: Fri, 21 Nov 2025 15:36:02 +0700 Subject: [PATCH] fix: update tests to use `ConstantFlightServerDelayed` for timeout scenarios [EMPTY] trigger CI --- tests/test_query.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_query.py b/tests/test_query.py index b951bdf..ade4b2d 100644 --- a/tests/test_query.py +++ b/tests/test_query.py @@ -436,7 +436,7 @@ async def fibo(iters): @asyncio_run async def test_query_async_timeout(self): with pytest.raises(FlightTimedOutError): - with ConstantFlightServer() as server: + with ConstantFlightServerDelayed() as server: connection_string = f"grpc://localhost:{server.port}" token = "my_token" database = "my_database" @@ -452,7 +452,7 @@ async def test_query_async_timeout(self): def test_query_timeout_per_call_override(self): with pytest.raises(FlightTimedOutError): - with ConstantFlightServer() as server: + with ConstantFlightServerDelayed() as server: connection_string = f"grpc://localhost:{server.port}" token = "my_token" database = "my_database"