Skip to content

Commit

Permalink
Incorperating Review Comments
Browse files Browse the repository at this point in the history
Signed-off-by: suchita-g <[email protected]>
  • Loading branch information
suchita-g committed Nov 14, 2023
1 parent 7524037 commit 0e8b964
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ocs_ci/framework/pytest_customization/marks.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
MANAGED_SERVICE_PLATFORMS,
HPCS_KMS_PROVIDER,
HCI_PROVIDER_CLIENT_PLATFORMS,
HCI_CLIENT,
HCI_PROVIDER,
)
from ocs_ci.utility import version
from ocs_ci.utility.aws import update_config_from_s3
Expand Down Expand Up @@ -371,14 +373,14 @@
skipif_hci_provider = pytest.mark.skipif(
config.default_cluster_ctx.ENV_DATA["platform"].lower()
in HCI_PROVIDER_CLIENT_PLATFORMS
and config.default_cluster_ctx.ENV_DATA["cluster_type"].lower() == "provider",
and config.default_cluster_ctx.ENV_DATA["cluster_type"].lower() == HCI_PROVIDER,
reason="Test will not run on Fusion HCI provider cluster",
)

skipif_hci_client = pytest.mark.skipif(
config.default_cluster_ctx.ENV_DATA["platform"].lower()
in HCI_PROVIDER_CLIENT_PLATFORMS
and config.default_cluster_ctx.ENV_DATA["cluster_type"].lower() == "hci_client",
and config.default_cluster_ctx.ENV_DATA["cluster_type"].lower() == HCI_CLIENT,
reason="Test will not run on Fusion HCI client cluster",
)

Expand Down
4 changes: 4 additions & 0 deletions ocs_ci/ocs/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@
MS_PROVIDER_TYPE = "provider"
NON_MS_CLUSTER_TYPE = "non_ms"

# HCI cluster types
HCI_CLIENT = "hci_client"
HCI_PROVIDER = "provider"

OCP_QE_MISC_REPO = "https://gitlab.cee.redhat.com/aosqe/flexy-templates.git"
CRITICAL_ERRORS = ["core dumped", "oom_reaper"]
must_gather_pod_label = "app=must-gather"
Expand Down
Empty file added tests/libtest/__init__.py
Empty file.
File renamed without changes.

0 comments on commit 0e8b964

Please sign in to comment.