URL: https://github.com/freeipa/freeipa/pull/5558
Author: abbra
 Title: #5558: [Backport][ipa-4-9] ipatests: update expected error message 
Action: opened

PR body:
"""
This PR was opened automatically because PR #5547 was pushed to master and 
backport to ipa-4-9 is required.
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5558/head:pr5558
git checkout pr5558
From a074f1859c61a1b23d902974f5e46b616dec841b Mon Sep 17 00:00:00 2001
From: Florence Blanc-Renaud <f...@redhat.com>
Date: Sat, 13 Feb 2021 12:23:05 +0100
Subject: [PATCH] ipatests: update expected error message

With commit ec6698f , the error message has changed from
  Unable to communicate with CMS (503)
to
  Request failed with status 503: Non-2xx response from CA REST API: 503.  (503)

Related: https://pagure.io/freeipa/issue/8704
---
 ipatests/test_integration/test_ipahealthcheck.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ipatests/test_integration/test_ipahealthcheck.py b/ipatests/test_integration/test_ipahealthcheck.py
index 2a647b911e3..8836fbcd2de 100644
--- a/ipatests/test_integration/test_ipahealthcheck.py
+++ b/ipatests/test_integration/test_ipahealthcheck.py
@@ -436,7 +436,8 @@ def test_ipahealthcheck_dogtag_ca_connectivity_check(self, restart_tomcat):
         error_msg = (
             "Request for certificate failed, "
             "Certificate operation cannot be completed: "
-            "Unable to communicate with CMS (503)"
+            "Request failed with status 503: "
+            "Non-2xx response from CA REST API: 503.  (503)"
         )
         returncode, data = run_healthcheck(
             self.master, "ipahealthcheck.dogtag.ca",
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to