Skip to content

Commit

Permalink
[Al2023] Adding OS as unsupported for DCV
Browse files Browse the repository at this point in the history
  • Loading branch information
Himani Deshpande authored and hanwen-pcluste committed Jun 12, 2024
1 parent 92ae950 commit ba40dc3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions tests/integration-tests/tests/arm_pl/test_arm_pl.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_arm_pl(os, pcluster_config_reader, clusters_factory, test_datadir):

# loading module armpl/{armpl_version} will load module armpl/gcc-{gcc_version}
# and armpl/{armpl_version}_gcc-{gcc_vesion} sequentially
armpl_module_general_name = f"armpl/{armpl_version}"
armpl_module_general_name = f"armpl/{armpl_version[:-2]}" if os in ["alinux2023"] else f"armpl/{armpl_version}"
armpl_module_name = f"armpl/{armpl_version}_gcc-{gcc_version}"
gcc_module_name = f"armpl/gcc-{gcc_version}"
_test_armpl_examples(
Expand All @@ -59,7 +59,8 @@ def _test_armpl_examples(
gcc_version,
):
armpl_major_minor_version = armpl_version[0:-2]

if os in ["alinux2023"]:
armpl_version = armpl_major_minor_version
# Test arm performance library examples to check arm performance library is available in cluster
logging.info("Test arm performance library examples")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import boto3
import pytest
from assertpy import assert_that, soft_assertions
from constants import UNSUPPORTED_OSES_FOR_DCV
from remote_command_executor import RemoteCommandExecutor
from utils import check_status, is_dcv_supported, test_cluster_health_metric

Expand Down Expand Up @@ -52,7 +53,7 @@ def test_essential_features(
bucket.upload_file(str(test_datadir / "pre_install.sh"), "scripts/pre_install.sh")
bucket.upload_file(str(test_datadir / "post_install.sh"), "scripts/post_install.sh")

dcv_enabled = is_dcv_supported(region)
dcv_enabled = is_dcv_supported(region) and os not in UNSUPPORTED_OSES_FOR_DCV
scaledown_idletime = 3
max_queue_size = 3

Expand Down

0 comments on commit ba40dc3

Please sign in to comment.