From d968737d68c1837d1169fad577d7c823f2f84b27 Mon Sep 17 00:00:00 2001 From: Giacomo Marciani Date: Thu, 5 Dec 2024 18:33:45 +0100 Subject: [PATCH] [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 --- tests/integration-tests/tests/update/test_update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration-tests/tests/update/test_update.py b/tests/integration-tests/tests/update/test_update.py index e9360ab30c..f2d54562db 100644 --- a/tests/integration-tests/tests/update/test_update.py +++ b/tests/integration-tests/tests/update/test_update.py @@ -335,8 +335,8 @@ def test_update_slurm(region, pcluster_config_reader, s3_bucket_factory, cluster _check_volume(cluster, updated_config, region) # Launch a new instance for queue1 and test updated pre/post install script execution and extra json update - # Add a new dynamic node t3.small to queue1-i3 - new_compute_node = _add_compute_nodes(slurm_commands, "queue1", "t3.small") + # Add a new dynamic node to queue1-i3 + new_compute_node = _add_compute_nodes(slurm_commands, "queue1", "queue1-i3&dynamic") logging.info(f"New compute node: {new_compute_node}")