From 7a692bfd6cb4ba1c842456b370792743de58d434 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration-tests/tests/update/test_update.py b/tests/integration-tests/tests/update/test_update.py index e9360ab30c..ede763f7c7 100644 --- a/tests/integration-tests/tests/update/test_update.py +++ b/tests/integration-tests/tests/update/test_update.py @@ -336,7 +336,7 @@ def test_update_slurm(region, pcluster_config_reader, s3_bucket_factory, cluster # 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") + new_compute_node = _add_compute_nodes(slurm_commands, "queue1", "t3.small OR t3a.small OR t3.medium OR t3a.medium") logging.info(f"New compute node: {new_compute_node}")