diff --git a/python/python/tests/test_read_from_strategy.py b/python/python/tests/test_read_from_strategy.py index fc15481a070..92267fb9287 100644 --- a/python/python/tests/test_read_from_strategy.py +++ b/python/python/tests/test_read_from_strategy.py @@ -141,7 +141,7 @@ async def test_routing_with_az_affinity_strategy_to_1_replica( addresses=multiple_replicas_cluster.nodes_addr, protocol=protocol, read_from=ReadFrom.AZ_AFFINITY, - timeout=2000, + timeout=4000, client_az=az, ) diff --git a/python/python/tests/utils/cluster.py b/python/python/tests/utils/cluster.py index e0bfb231ae2..fa17742e7bb 100644 --- a/python/python/tests/utils/cluster.py +++ b/python/python/tests/utils/cluster.py @@ -45,7 +45,7 @@ def __init__( stderr=subprocess.PIPE, text=True, ) - output, err = p.communicate(timeout=40) + output, err = p.communicate(timeout=80) if p.returncode != 0: raise Exception(f"Failed to create a cluster. Executed: {p}:\n{err}") self.parse_cluster_script_start_output(output)