mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Reverted the essertion for replica uninstall returncode
As the issue with ipa installer always returning 0 returncode was addressed, the test needs to be made aware of this change. https://fedorahosted.org/freeipa/ticket/6401 Reviewed-By: Martin Basti <mbasti@redhat.com> Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
parent
7de597425f
commit
5710ecddca
@ -357,12 +357,8 @@ class TestProhibitReplicaUninstallation(IntegrationTest):
|
|||||||
result = self.replicas[0].run_command(['ipa-server-install',
|
result = self.replicas[0].run_command(['ipa-server-install',
|
||||||
'--uninstall', '-U'],
|
'--uninstall', '-U'],
|
||||||
raiseonerr=False)
|
raiseonerr=False)
|
||||||
# Due to ticket 3230 server installation/uninstallation always returns
|
|
||||||
# 0 unless an uncaught exception occurs. Once this issue is properly
|
|
||||||
# addressed, please care to change expected return code in the
|
|
||||||
# following assert from 0 to something else.
|
|
||||||
assert_error(result, "Removal of '%s' leads to disconnected"
|
assert_error(result, "Removal of '%s' leads to disconnected"
|
||||||
" topology" % self.replicas[0].hostname, 0)
|
" topology" % self.replicas[0].hostname, 1)
|
||||||
self.replicas[0].run_command(['ipa-server-install', '--uninstall',
|
self.replicas[0].run_command(['ipa-server-install', '--uninstall',
|
||||||
'-U', '--ignore-topology-disconnect'])
|
'-U', '--ignore-topology-disconnect'])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user