Skip to content

Commit 8264852

Browse files
hanwen-clusterhanwen-pcluste
authored andcommitted
[integ-test] Change ODCR instance type
test_on_demand_capacity_reservation was using c5.xlarge as one of the open ODCRs. However, open ODCRs can be shared with other tests in the same availability zone, causing test_on_demand_capacity_reservation failing because of insufficient reservation capacity. Therefore,to avoid other tests using ODCR mistakenly, this commit changes the instance type to m5.2xlarge, which is not widely used in our integration tests Signed-off-by: Hanwen <[email protected]>
1 parent 3da6e56 commit 8264852

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/integration-tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@ def odcr_stack(request, region, placement_group_stack, cfn_stacks_factory, vpc_s
14001400
AvailabilityZone=availability_zone,
14011401
InstanceCount=4,
14021402
InstancePlatform="Linux/UNIX",
1403-
InstanceType="c5.xlarge",
1403+
InstanceType="m5.2xlarge",
14041404
)
14051405
target_odcr = ec2.CapacityReservation(
14061406
"integTestsTargetOdcr",

tests/integration-tests/tests/networking/test_on_demand_capacity_reservation/test_on_demand_capacity_reservation/pcluster.config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ Scheduling:
1212
- Name: open-odcr-q
1313
ComputeResources:
1414
- Name: open-odcr-id-cr
15-
InstanceType: c5.xlarge
15+
InstanceType: m5.2xlarge
1616
MinCount: 1
1717
MaxCount: 10
1818
CapacityReservationTarget:
1919
CapacityReservationId: {{ open_capacity_reservation_id }}
2020
- Name: open-odcr-arn-cr
21-
InstanceType: c5.xlarge
21+
InstanceType: m5.2xlarge
2222
MinCount: 1
2323
MaxCount: 10
2424
CapacityReservationTarget:
2525
CapacityReservationResourceGroupArn: {{ open_capacity_reservation_arn }}
2626
- Name: open-odcr-id-pg-cr
27-
InstanceType: c5.xlarge
27+
InstanceType: m5.2xlarge
2828
MinCount: 1
2929
MaxCount: 10
3030
Networking:
@@ -33,7 +33,7 @@ Scheduling:
3333
CapacityReservationTarget:
3434
CapacityReservationId: {{ open_capacity_reservation_id }}
3535
- Name: open-odcr-arn-pg-cr
36-
InstanceType: c5.xlarge
36+
InstanceType: m5.2xlarge
3737
MinCount: 1
3838
MaxCount: 10
3939
Networking:

0 commit comments

Comments
 (0)