Workaround for ticket 5627

https://fedorahosted.org/freeipa/ticket/5723

Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Oleg Fayans 2016-03-02 13:39:00 +01:00 committed by Martin Basti
parent b5807fd9b6
commit 578cff9567

View File

@ -19,6 +19,11 @@ class ReplicaPromotionBase(IntegrationTest):
result = self.master.run_command(
["ipa", "host-del", "--updatedns", host.hostname],
raiseonerr=False)
# Workaround for 5627
if "host not found" in result.stderr_text:
self.master.run_command(["ipa",
"host-del",
host.hostname], raiseonerr=False)
def test_kra_install_master(self):
result1 = tasks.install_kra(self.master,