diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ad8a29..2bf525d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ 1. [#167](https://github.com/InfluxCommunity/influxdb3-python/pull/167): - Remove incorrect symbol `>>` for config.yml. - Added spacing for `<<` and `>>` just for consistency. +1. [176](https://github.com/InfluxCommunity/influxdb3-python/pull/176): Use `ConstantFlightServerDelayed` for timeout tests. ## 0.16.0 [2025-09-15] 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"