IntegrationTest do not fail even if the uninstall process fails
--- a/ipatests/pytest_plugins/integration/tasks.py +++ b/ipatests/pytest_plugins/integration/tasks.py @@ -699,7 +699,7 @@ def kinit_admin(host, raiseonerr=True): def uninstall_master(host, ignore_topology_disconnect=True, ignore_last_of_role=True, clean=True): host.collect_log(paths.IPASERVER_UNINSTALL_LOG) - uninstall_cmd = ['ipa-server-install', '--uninstall', '-U'] + uninstall_cmd = ['ipa-server-install', '--uninstall', '-INVALID_OPTION']
It succeeds even if an error happens during the uninstall process.
It should fail.
Git master (last commit: dc4109c1a459919474dfb9c01996571d7fd5eae4)
Metadata Update from @fbarreto: - Issue tagged with: tests
Metadata Update from @fbarreto: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/1459
Metadata Update from @rcritten: - Issue set to the milestone: FreeIPA 4.6.4
master:
ipa-4-6:
Metadata Update from @cheimes: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)