Skip to content

Commit

Permalink
Generate parametrized pytests only if it's multicluster and upgrade r…
Browse files Browse the repository at this point in the history
…un (#11130)

Signed-off-by: Shylesh Kumar Mohan <[email protected]>
  • Loading branch information
shylesh authored Jan 8, 2025
1 parent 606ee25 commit 4406407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4406407

Please sign in to comment.