Skip to content

Commit 40a160a

Browse files
Use less powerful EFS and FSx in tests and example template
Our integration tests don't need the top performing configuratino Signed-off-by: Hanwen <hanwenli@amazon.com>
1 parent 9a15d4d commit 40a160a

File tree

15 files changed

+19
-19
lines changed

15 files changed

+19
-19
lines changed

cloudformation/storage/storage-stack.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Resources:
204204
DeploymentType: PERSISTENT_1
205205
ExportPath: !Ref FsxLustreExportPath
206206
ImportPath: !Ref FsxLustreImportPath
207-
PerUnitStorageThroughput: 200
207+
PerUnitStorageThroughput: 50
208208
SecurityGroupIds:
209209
- !Ref FsxLustreSecurityGroup
210210
StorageCapacity: 1200
@@ -437,7 +437,7 @@ Resources:
437437
SubnetIds=[subnet_id],
438438
SecurityGroupIds=[securitygroup_id],
439439
LustreConfiguration={
440-
"PerUnitStorageThroughput": 1000,
440+
"PerUnitStorageThroughput": 125,
441441
"DeploymentType": "CACHE_1",
442442
"MetadataConfiguration": {"StorageCapacity": 2400},
443443
},

tests/integration-tests/resources/file-cache-storage-cfn.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Resources:
8787
SubnetIds=[subnet_id],
8888
SecurityGroupIds=[securitygroup_id],
8989
LustreConfiguration={
90-
"PerUnitStorageThroughput": 1000,
90+
"PerUnitStorageThroughput": 125,
9191
"DeploymentType": "CACHE_1",
9292
"MetadataConfiguration": {"StorageCapacity": 2400},
9393
},

tests/integration-tests/tests/networking/test_security_groups/test_overwrite_sg/pcluster.config.update.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ SharedStorage:
4141
FsxLustreSettings:
4242
StorageCapacity: 1200
4343
DeploymentType: PERSISTENT_1
44-
PerUnitStorageThroughput: 200
44+
PerUnitStorageThroughput: 50
4545
{% endif %}

tests/integration-tests/tests/networking/test_security_groups/test_overwrite_sg/pcluster.config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ SharedStorage:
4141
FsxLustreSettings:
4242
StorageCapacity: 1200
4343
DeploymentType: PERSISTENT_1
44-
PerUnitStorageThroughput: 200
44+
PerUnitStorageThroughput: 50
4545
{% endif %}

tests/integration-tests/tests/storage/test_efs/test_multiple_efs/pcluster.config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ SharedStorage:
5353
Encrypted: true
5454
PerformanceMode: maxIO
5555
ThroughputMode: provisioned
56-
ProvisionedThroughput: 200
56+
ProvisionedThroughput: 20
5757
{% for efs_fs_id in existing_efs_ids %}
5858
- MountDir: {{ existing_efs_mount_dirs[loop.index-1] }}
5959
Name: existing_efs{{ loop.index-1 }}

tests/integration-tests/tests/storage/test_fsx_lustre.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"data_compression_type",
5656
),
5757
[
58-
("PERSISTENT_1", 200, "NEW_CHANGED", None, None, 1200, 1024, None),
58+
("PERSISTENT_1", 50, "NEW_CHANGED", None, None, 1200, 1024, None),
5959
("SCRATCH_1", None, "NEW", None, None, 1200, 1024, "LZ4"),
6060
("SCRATCH_2", None, "NEW_CHANGED_DELETED", None, None, 1200, 1024, "LZ4"),
6161
("PERSISTENT_1", 40, None, "HDD", None, 1800, 512, "LZ4"),
@@ -529,7 +529,7 @@ def _create_fsx_lustre_volume_ids(num_existing_fsx_lustre, fsx_factory, import_p
529529
ImportPath=import_path,
530530
ExportPath=export_path,
531531
DeploymentType="PERSISTENT_1",
532-
PerUnitStorageThroughput=200,
532+
PerUnitStorageThroughput=50,
533533
),
534534
FileSystemTypeVersion="2.15",
535535
)

tests/integration-tests/tests/storage/test_fsx_lustre/test_fsx_lustre/pcluster.config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ SharedStorage:
4444
ImportPath: s3://{{ bucket_name }}
4545
ExportPath: s3://{{ bucket_name }}/export_dir
4646
DeploymentType: PERSISTENT_1
47-
PerUnitStorageThroughput: 200
47+
PerUnitStorageThroughput: 50

tests/integration-tests/tests/storage/test_fsx_lustre/test_fsx_lustre_backup/pcluster.config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ SharedStorage:
3535
StorageCapacity: 1200
3636
WeeklyMaintenanceStartTime: "1:00:00"
3737
DeploymentType: PERSISTENT_1
38-
PerUnitStorageThroughput: 200
38+
PerUnitStorageThroughput: 50
3939
AutomaticBackupRetentionDays: 1
4040
DailyAutomaticBackupStartTime: "{{ daily_automatic_backup_start_time }}"
4141
CopyTagsToBackups: True

tests/integration-tests/tests/storage/test_fsx_lustre/test_fsx_lustre_dra/pcluster.config.update.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ SharedStorage:
3535
FsxLustreSettings:
3636
StorageCapacity: {{ storage_capacity }}
3737
DeploymentType: PERSISTENT_1
38-
PerUnitStorageThroughput: 200
38+
PerUnitStorageThroughput: 50
3939
DataRepositoryAssociations:
4040
- Name: dra
4141
BatchImportMetaDataOnCreate: True

tests/integration-tests/tests/storage/test_fsx_lustre/test_fsx_lustre_dra/pcluster.config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ SharedStorage:
3535
FsxLustreSettings:
3636
StorageCapacity: {{ storage_capacity }}
3737
DeploymentType: PERSISTENT_1
38-
PerUnitStorageThroughput: 200
38+
PerUnitStorageThroughput: 50
3939
DataRepositoryAssociations:
4040
- Name: dra
4141
BatchImportMetaDataOnCreate: True

0 commit comments

Comments
 (0)