Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions cardano_node_tests/cluster_management/cluster_getter.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,15 @@ def __init__(
self.pytest_tmp_dir = temptools.get_pytest_root_tmp()
self.cluster_lock = common.get_cluster_lock_file()

# Soft timeout (seconds): applies when no cluster is selected.
self.grace_period_soft = 3600
# Hard timeout (seconds): always applies, regardless of cluster selection.
self.grace_period_hard = 7200
if cluster_nodes.get_cluster_type().type == cluster_nodes.ClusterType.LOCAL:
# Soft timeout (seconds): applies when no cluster is selected.
self.grace_period_soft = 3600
# Hard timeout (seconds): always applies, regardless of cluster selection.
self.grace_period_hard = 7200
else:
self.grace_period_soft = 28800
self.grace_period_hard = 30000

# Time window (seconds) before deadline when stricter dead cluster checks apply.
self.strict_check_window = 1200
# Maximum allowed fraction of dead clusters during strict check window.
Expand Down
Loading