From 4406407e68c02e6ab75fc280de09a91a1ec45a8d Mon Sep 17 00:00:00 2001 From: shylesh Date: Wed, 8 Jan 2025 16:14:01 +0530 Subject: [PATCH] Generate parametrized pytests only if it's multicluster and upgrade run (#11130) Signed-off-by: Shylesh Kumar Mohan --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 5ce8c3d8c6e..9191cb64bbd 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -357,7 +357,7 @@ def pytest_generate_tests(metafunc): """ # For now we are only dealing with multicluster scenarios in this hook - if ocsci_config.multicluster: + if ocsci_config.multicluster and ocsci_config.UPGRADE.get("upgrade", False): upgrade_parametrizer = get_multicluster_upgrade_parametrizer() # for various roles which are applicable to current test wrt multicluster, for ex: ACM, primary, secondary etc roles = None