Skip to content

Commit aa414e4

Browse files
committed
[Test] Fix test_starccm so that it can be executed on AL2023.
Signed-off-by: Giacomo Marciani <mgiacomo@amazon.com>
1 parent d46b766 commit aa414e4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/integration-tests/tests/performance_tests/test_starccm.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
}
2323
PERF_TEST_DIFFERENCE_TOLERANCE = 3
2424

25+
OSS_REQUIRING_EXTRA_DEPS = ["alinux2023", "rhel8", "rocky8"]
26+
2527

2628
def get_starccm_secrets(region_name):
2729
secrets_manager_client = boto3.client("secretsmanager", region_name=region_name)
@@ -67,7 +69,9 @@ def test_starccm(
6769
s3.upload_file(str(test_datadir / "dependencies.install.sh"), bucket_name, "scripts/dependencies.install.sh")
6870

6971
cluster_config = pcluster_config_reader(
70-
bucket_name=bucket_name, install_extra_deps=os in ["rhel8", "rocky8"], number_of_nodes=max(number_of_nodes)
72+
bucket_name=bucket_name,
73+
install_extra_deps=os in OSS_REQUIRING_EXTRA_DEPS,
74+
number_of_nodes=max(number_of_nodes),
7175
)
7276
cluster = clusters_factory(cluster_config)
7377
logging.info("Cluster Created")

0 commit comments

Comments
 (0)