mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: Test if server setup without dns uninstall properly
IPA server uninstall was failing if dns was not setup. This test check if it uninstalls propelry. related: https://pagure.io/freeipa/issue/8630 Signed-off-by: Mohammad Rizwan <myusuf@redhat.com> Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
This commit is contained in:
parent
776d575c06
commit
3a584803da
@ -119,3 +119,20 @@ class TestUninstallBase(IntegrationTest):
|
|||||||
self.master.run_command([
|
self.master.run_command([
|
||||||
paths.DSCTL, serverid, 'remove', '--do-it'
|
paths.DSCTL, serverid, 'remove', '--do-it'
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
class TestUninstallWithoutDNS(IntegrationTest):
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def install(cls, mh):
|
||||||
|
tasks.install_master(cls.master, setup_dns=False)
|
||||||
|
|
||||||
|
def test_uninstall_server_without_dns(self):
|
||||||
|
"""Test if server setup without dns uninstall properly
|
||||||
|
|
||||||
|
IPA server uninstall was failing if dns was not setup.
|
||||||
|
This test check if it uninstalls properly.
|
||||||
|
|
||||||
|
related: https://pagure.io/freeipa/issue/8630
|
||||||
|
"""
|
||||||
|
tasks.uninstall_master(self.master)
|
||||||
|
Loading…
Reference in New Issue
Block a user