Skip to content

Commit 2fb7a11

Browse files
committed
feat(tests): increase query timeout to 360 seconds
Increased the timeout for dbsync_utils.retry_query from 300 to 360 seconds in test_pools.py and test_drep.py to ensure tests have sufficient time to complete.
1 parent ca90b4c commit 2fb7a11

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cardano_node_tests/tests/test_pools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ def _query_func():
690690
ledger_pool_data=pool_params, pool_id=pool_creation_out.stake_pool_id
691691
)
692692

693-
dbsync_utils.retry_query(query_func=_query_func, timeout=300)
693+
dbsync_utils.retry_query(query_func=_query_func, timeout=360)
694694

695695
@allure.link(helpers.get_vcs_link())
696696
@pytest.mark.testnets
@@ -765,7 +765,7 @@ def _query_func():
765765
ledger_pool_data=pool_params, pool_id=pool_creation_out.stake_pool_id
766766
)
767767

768-
dbsync_utils.retry_query(query_func=_query_func, timeout=300)
768+
dbsync_utils.retry_query(query_func=_query_func, timeout=360)
769769

770770
@allure.link(helpers.get_vcs_link())
771771
@common.PARAM_USE_BUILD_CMD

cardano_node_tests/tests/tests_conway/test_drep.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def _query_func():
419419
drep_data=drep_data, metadata=drep_metadata_content
420420
)
421421

422-
dbsync_utils.retry_query(query_func=_query_func, timeout=300)
422+
dbsync_utils.retry_query(query_func=_query_func, timeout=360)
423423

424424
except AssertionError as exc:
425425
str_exc = str(exc)

0 commit comments

Comments
 (0)