Skip to content

Commit 9e5bfaf

Browse files
committed
Fix tests after operator 0.0.66
Pattern operator 0.0.66 by default will install the pattern operator in the "patterns-operator" namespace and the openshift-gitops-operator in the "openshift-gitops-operator" namespace. Adjust the QE tests accordingly
1 parent 13c6022 commit 9e5bfaf

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/interop/test_subscription_status_edge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
def test_subscription_status_edge(openshift_dyn_client):
1313
# These are the operator subscriptions and their associated namespaces
1414
expected_subs = {
15-
"openshift-gitops-operator": ["openshift-operators"],
15+
"openshift-gitops-operator": ["openshift-gitops-operator"],
1616
}
1717

1818
err_msg = subscription.subscription_status(

tests/interop/test_subscription_status_hub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
def test_subscription_status_hub(openshift_dyn_client):
1313
# These are the operator subscriptions and their associated namespaces
1414
expected_subs = {
15-
"openshift-gitops-operator": ["openshift-operators"],
15+
"openshift-gitops-operator": ["openshift-gitops-operator"],
1616
"advanced-cluster-management": ["open-cluster-management"],
1717
"multicluster-engine": ["multicluster-engine"],
1818
}

tests/interop/test_validate_edge_site_components.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def test_validate_argocd_reachable_edge_site(openshift_dyn_client):
4444
def test_check_pod_status(openshift_dyn_client):
4545
logger.info("Checking pod status")
4646
projects = [
47-
"openshift-operators",
47+
"patterns-operator",
4848
"open-cluster-management-agent",
4949
"open-cluster-management-agent-addon",
5050
"openshift-gitops",

tests/interop/test_validate_hub_site_components.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def test_validate_hub_site_reachable(kube_config, openshift_dyn_client):
4141
def test_check_pod_status(openshift_dyn_client):
4242
logger.info("Checking pod status")
4343
projects = [
44-
"openshift-operators",
44+
"patterns-operator",
4545
"open-cluster-management",
4646
"open-cluster-management-hub",
4747
"openshift-gitops",

0 commit comments

Comments
 (0)