URL:
https://github.com/freeipa/freeipa/pull/5424
Author: flo-renaud
Title: #5424: ipatest: fix test_upgrade.py::TestUpgrade::()::test_kra_detection
Action: opened
PR body:
"""
Modify the test scenario in order to be independant from PKI
behavior. The aim of the test is to ensure that the KRA
detection is not based on the presence of the directory
/var/lib/pki/pki-tomcat/kra/.
Previously the test was calling ipa-server-upgrade but this cmd
may fail even with the kra detection fix because of an issue in
pki (
https://github.com/dogtagpki/pki/issues/3397).
Instead of exercising the whole ipa-server-upgrade command, the
test now checks the output of the API kra.is_installed() to validate
KRA detection mechanism.
Fixes:
https://pagure.io/freeipa/issue/8653
Related:
https://pagure.io/freeipa/issue/8596
Signed-off-by: Florence Blanc-Renaud <flo(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5424/head:pr5424
git checkout pr5424