From 40eac452acedfabca8b1d6658c5306d00bf1f377 Mon Sep 17 00:00:00 2001 From: Xuanqi He Date: Tue, 20 May 2025 15:59:04 -0400 Subject: [PATCH] Increase the computenodes launching time timeout to 6 minutes. Because Ubuntu24 OS instance launching time is longer than other OSs. --- tests/integration-tests/tests/common/assertions.py | 2 +- tests/integration-tests/tests/common/hit_common.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration-tests/tests/common/assertions.py b/tests/integration-tests/tests/common/assertions.py index 9440a16935..36255a72a7 100644 --- a/tests/integration-tests/tests/common/assertions.py +++ b/tests/integration-tests/tests/common/assertions.py @@ -181,7 +181,7 @@ def assert_scaling_worked( ) -@retry(wait_fixed=seconds(20), stop_max_delay=minutes(5)) +@retry(wait_fixed=seconds(20), stop_max_delay=minutes(6)) def wait_for_num_instances_in_cluster(cluster_name, region, desired): return assert_num_instances_in_cluster(cluster_name, region, desired) diff --git a/tests/integration-tests/tests/common/hit_common.py b/tests/integration-tests/tests/common/hit_common.py index dc8165c037..5bb6402206 100644 --- a/tests/integration-tests/tests/common/hit_common.py +++ b/tests/integration-tests/tests/common/hit_common.py @@ -85,7 +85,7 @@ def assert_compute_node_reasons(scheduler_commands, compute_nodes, expected_reas assert_that(node_info).contains(f"Reason={expected_reason}") -@retry(wait_fixed=seconds(20), stop_max_delay=minutes(5)) +@retry(wait_fixed=seconds(20), stop_max_delay=minutes(6)) def wait_for_num_nodes_in_scheduler(scheduler_commands, desired, filter_by_partition=None): assert_num_nodes_in_scheduler(scheduler_commands, desired, filter_by_partition)