Skip to content

Commit

Permalink
Skip mcg tests in FaaS test runs (red-hat-storage#7893)
Browse files Browse the repository at this point in the history
Signed-off-by: Jilju Joy <[email protected]>
  • Loading branch information
jilju authored Jul 3, 2023
1 parent 2006515 commit 37371db
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions tests/manage/mcg/conftest.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import logging
from ocs_ci.framework import config
from ocs_ci.ocs.constants import (
OPENSHIFT_DEDICATED_PLATFORM,
ROSA_PLATFORM,
CLOUD_PLATFORMS,
)
from ocs_ci.ocs.constants import CLOUD_PLATFORMS, MANAGED_SERVICE_PLATFORMS

log = logging.getLogger(__name__)

Expand All @@ -19,10 +15,7 @@ def pytest_collection_modifyitems(items):
"""
# Need to update the condition when MCG will get supported
if (
config.ENV_DATA["platform"].lower() == OPENSHIFT_DEDICATED_PLATFORM
or config.ENV_DATA["platform"].lower() == ROSA_PLATFORM
):
if config.ENV_DATA["platform"].lower() in MANAGED_SERVICE_PLATFORMS:
for item in items.copy():
if "manage/mcg" in str(item.fspath):
log.debug(
Expand Down

0 comments on commit 37371db

Please sign in to comment.