Skip to content

Commit

Permalink
[Integ-test] Fix get_compute_nodes_allocation
Browse files Browse the repository at this point in the history
compute nodes list should be all running compute nodes. The previous function call was wrong and causing intermittent failures.

I checked all usage of the function to make sure this commit is good.

Signed-off-by: Hanwen <[email protected]>
  • Loading branch information
hanwen-pcluste committed Sep 18, 2024
1 parent ead1072 commit c964a8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration-tests/tests/common/scaling_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def get_compute_nodes_allocation(
stop_max_delay=max_monitoring_time,
)
def _watch_compute_nodes_allocation():
compute_nodes = len(scheduler_commands.get_unique_static_nodes())
compute_nodes = len(scheduler_commands.get_compute_nodes())
ec2_capacity = get_compute_nodes_instance_count(stack_name, region)
timestamp = time.time()

Expand Down

0 comments on commit c964a8b

Please sign in to comment.