Skip to content

Commit afe8b12

Browse files
committed
[Test] Fix test 'test_update_slurm' adapting the constraint in the sbatch command to the flexible instance types used in the config.
Signed-off-by: Giacomo Marciani <mgiacomo@amazon.com>
1 parent 11bfa3c commit afe8b12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration-tests/tests/update/test_update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,8 @@ def test_update_slurm(region, pcluster_config_reader, s3_bucket_factory, cluster
334334
_check_volume(cluster, updated_config, region)
335335

336336
# Launch a new instance for queue1 and test updated pre/post install script execution and extra json update
337-
# Add a new dynamic node t3.small to queue1-i3
338-
new_compute_node = _add_compute_nodes(slurm_commands, "queue1", "t3.small")
337+
# Add a new dynamic node to queue1-i3
338+
new_compute_node = _add_compute_nodes(slurm_commands, "queue1", "queue1-i3&dynamic")
339339

340340
logging.info(f"New compute node: {new_compute_node}")
341341

0 commit comments

Comments
 (0)