Skip to content

Commit 628a130

Browse files
committed
Use multi-cluster operator name if required in appdb test
1 parent 9866c84 commit 628a130

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker/mongodb-kubernetes-tests/tests/upgrades/appdb_tls_operator_upgrade_v1_32_to_mck.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
LEGACY_OPERATOR_CHART,
1111
LEGACY_OPERATOR_IMAGE_NAME,
1212
LEGACY_OPERATOR_NAME,
13+
MULTI_CLUSTER_OPERATOR_NAME,
1314
create_appdb_certs,
1415
get_default_operator,
1516
install_official_operator,
@@ -129,6 +130,8 @@ def test_downscale_latest_official_operator(namespace: str):
129130

130131
@mark.e2e_appdb_tls_operator_upgrade_v1_32_to_mck
131132
def test_upgrade_operator(namespace: str, operator_installation_config: dict[str, str]):
133+
if is_multi_cluster():
134+
operator_installation_config["operator.name"] = MULTI_CLUSTER_OPERATOR_NAME
132135
operator = get_default_operator(
133136
namespace, operator_installation_config=operator_installation_config, apply_crds_first=True
134137
)

0 commit comments

Comments
 (0)