Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions tests/integration-tests/tests/schedulers/test_sge.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def test_sge(region, pcluster_config_reader, clusters_factory):
_test_non_runnable_jobs(remote_command_executor, max_queue_size, max_slots, region, cluster, scaledown_idletime)
_test_job_dependencies(remote_command_executor, region, cluster.cfn_name, scaledown_idletime)
_test_job_arrays_and_parallel_jobs(remote_command_executor, region, cluster.cfn_name, scaledown_idletime)
# TODO: _test_dynamic_max_cluster_size

assert_no_errors_in_logs(remote_command_executor, ["/var/log/sqswatcher", "/var/log/jobwatcher"])

Expand Down
6 changes: 4 additions & 2 deletions tests/integration-tests/tests/schedulers/test_slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,14 @@ def _test_dynamic_max_cluster_size(remote_command_executor, region, asg_name):
# Change ASG value and check dummy-nodes settings
new_max_size = 1
asg_client.update_auto_scaling_group(AutoScalingGroupName=asg_name, MaxSize=new_max_size)
time.sleep(40)
# sleeping for 200 seconds since daemons fetch this data every 3 minutes
time.sleep(200)
_assert_dummy_nodes(remote_command_executor, new_max_size)

# Restore initial cluster size
asg_client.update_auto_scaling_group(AutoScalingGroupName=asg_name, MaxSize=current_max_size)
time.sleep(40)
# sleeping for 200 seconds since daemons fetch this data every 3 minutes
time.sleep(200)
_assert_dummy_nodes(remote_command_executor, current_max_size)


Expand Down