From 1f9795c8a9cfe6ce1607febaa37f03bc5009fc8d Mon Sep 17 00:00:00 2001 From: Adar Ovadia Date: Wed, 20 Nov 2024 15:55:49 +0000 Subject: [PATCH] upload timeout Signed-off-by: Adar Ovadia --- python/python/tests/test_read_from_strategy.py | 2 +- python/python/tests/utils/cluster.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)