@@ -115,13 +115,13 @@ def test_update_slurm(region, pcluster_config_reader, s3_bucket_factory, cluster
115
115
"queue1-i1" : {
116
116
"instances" : [
117
117
{
118
- "instance_type" : "c5.xlarge " ,
118
+ "instance_type" : "c5.large " ,
119
119
},
120
120
{
121
- "instance_type" : "c5n.xlarge " ,
121
+ "instance_type" : "c5n.large " ,
122
122
},
123
123
{
124
- "instance_type" : "c5d.xlarge " ,
124
+ "instance_type" : "c5d.large " ,
125
125
},
126
126
],
127
127
"expected_running_instances" : 1 ,
@@ -200,8 +200,8 @@ def test_update_slurm(region, pcluster_config_reader, s3_bucket_factory, cluster
200
200
201
201
# Here is the expected list of nodes.
202
202
# the cluster:
203
- # queue1-st-c5xlarge -1
204
- # queue1-st-c5xlarge -2
203
+ # queue1-st-c5large -1
204
+ # queue1-st-c5large -2
205
205
retry (wait_fixed = seconds (20 ), stop_max_delay = minutes (5 ))(assert_initial_conditions )(
206
206
slurm_commands , 2 , 0 , partition = "queue1"
207
207
)
@@ -211,13 +211,13 @@ def test_update_slurm(region, pcluster_config_reader, s3_bucket_factory, cluster
211
211
"queue1-i1" : {
212
212
"instances" : [
213
213
{
214
- "instance_type" : "c5.xlarge " ,
214
+ "instance_type" : "c5.large " ,
215
215
},
216
216
{
217
- "instance_type" : "c5n.xlarge " ,
217
+ "instance_type" : "c5n.large " ,
218
218
},
219
219
{
220
- "instance_type" : "c5d.xlarge " ,
220
+ "instance_type" : "c5d.large " ,
221
221
},
222
222
],
223
223
"expected_running_instances" : 2 ,
@@ -592,7 +592,7 @@ def test_update_instance_list(
592
592
submit_command_args = {"command" : "sleep 1000" , "nodes" : 1 , "other_options" : "--exclusive" }
593
593
)
594
594
# Check instance type is the expected for min count
595
- _check_instance_type (ec2 , instances , "c5d.xlarge " )
595
+ _check_instance_type (ec2 , instances , "c5d.large " )
596
596
597
597
# Update cluster with new configuration, adding new instance type with lower price
598
598
updated_config_file = pcluster_config_reader (bucket_name = bucket_name , config_file = "pcluster.config.update.yaml" )
@@ -610,7 +610,7 @@ def test_update_instance_list(
610
610
logging .info (new_instances )
611
611
new_instances .remove (instances [0 ])
612
612
# Check new instance type is the expected one, i.e. the one with lower price.
613
- _check_instance_type (ec2 , new_instances , "c5.xlarge " )
613
+ _check_instance_type (ec2 , new_instances , "c5.large " )
614
614
615
615
# Update cluster removing instance type from the list
616
616
updated_config_file = pcluster_config_reader (
0 commit comments