mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
ipatests: delete the replica before uninstallation
The test test_installation.py::TestInstallWithCA1::test_install_with_bad_ldap_conf is uninstalling a replica by calling ipa-server-install --uninstall directly, instead of deleting the replica first. Use tasks.uninstall_replica instead of tasks.uninstall_master to perform a proper uninstallation. Fixes: https://pagure.io/freeipa/issue/8876 Signed-off-by: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
parent
5c83ec06fa
commit
6f49cc0656
@ -205,7 +205,7 @@ class TestInstallWithCA1(InstallTestBase1):
|
||||
ldap_conf = paths.OPENLDAP_LDAP_CONF
|
||||
base_dn = self.master.domain.basedn
|
||||
client = self.replicas[0]
|
||||
tasks.uninstall_master(client)
|
||||
tasks.uninstall_replica(self.master, client)
|
||||
expected_msg1 = "contains deprecated and unsupported " \
|
||||
"entries: HOST, PORT"
|
||||
file_backup = client.get_file_contents(ldap_conf, encoding='utf-8')
|
||||
|
Loading…
Reference in New Issue
Block a user