From e33d534767a6e9d9643732ac5d80f312e069f784 Mon Sep 17 00:00:00 2001 From: Elena Bondarenko Date: Thu, 16 Nov 2023 10:26:17 +0100 Subject: [PATCH 1/2] Skip env check for provider/client setup Signed-off-by: Elena Bondarenko --- tests/conftest.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index a05e891ccea..b1b15ded9f3 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1747,7 +1747,11 @@ def environment_checker(request): return if mark.name == ignore_leftover_label.name: exclude_labels.extend(list(mark.args)) - if ocsci_config.ENV_DATA["platform"] == constants.FUSIONAAS_PLATFORM: + if ocsci_config.ENV_DATA["platform"] in { + constants.FUSIONAAS_PLATFORM, + constants.HCI_BAREMETAL, + constants.HCI_VSPHERE, + }: log.error( "Environment checker is NOT IMPLEMENTED for Fusion service. This needds to be updated" ) From 640074a5eeb119b11314f19720d20025ebb36fb7 Mon Sep 17 00:00:00 2001 From: Elena Bondarenko Date: Thu, 16 Nov 2023 11:03:24 +0100 Subject: [PATCH 2/2] Updage logging of skipped check Signed-off-by: Elena Bondarenko --- tests/conftest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index b1b15ded9f3..885f6904650 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1753,7 +1753,8 @@ def environment_checker(request): constants.HCI_VSPHERE, }: log.error( - "Environment checker is NOT IMPLEMENTED for Fusion service. This needds to be updated" + "Environment checker is NOT IMPLEMENTED for Fusion service and provider/client hci setup." + "This needds to be updated" ) else: request.addfinalizer(