Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions tests/global_config_arm64.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
from typing import Any

import pytest_testconfig
from ocp_resources.datavolume import DataVolume

from utilities.constants import (
ARM_64,
EXPECTED_CLUSTER_INSTANCE_TYPE_LABELS,
HPP_CAPABILITIES,
PREFERENCE_STR,
Images,
StorageClassNames,
)
from utilities.storage import HppCsiStorageClass

global config
global_config = pytest_testconfig.load_python(py_file="tests/global_config.py", encoding="utf-8")
Expand All @@ -16,6 +20,24 @@
EXPECTED_CLUSTER_INSTANCE_TYPE_LABELS[PREFERENCE_STR] = f"rhel.9.{ARM_64}"


storage_class_matrix = [
{
StorageClassNames.IO2_CSI: {
"volume_mode": DataVolume.VolumeMode.BLOCK,
"access_mode": DataVolume.AccessMode.RWX,
"snapshot": True,
"online_resize": True,
"wffc": True,
"default": True,
}
},
{HppCsiStorageClass.Name.HOSTPATH_CSI_BASIC: HPP_CAPABILITIES},
]

storage_class_a = StorageClassNames.IO2_CSI
storage_class_b = StorageClassNames.IO2_CSI


for _dir in dir():
if not config: # noqa: F821
config: dict[str, Any] = {}
Expand Down