diff options
author | Oleg Fayans <ofayans@redhat.com> | 2016-03-02 13:39:00 +0100 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-03-11 17:27:45 +0100 |
commit | 578cff956738af06b005c3ef931dbe518d5605a3 (patch) | |
tree | 0d4785f857f1b8771f27172979110c8c0f2e46d5 /ipatests/test_integration | |
parent | b5807fd9b646cf887f67d966d88e4ddcd09d1007 (diff) | |
download | freeipa-578cff956738af06b005c3ef931dbe518d5605a3.tar.gz freeipa-578cff956738af06b005c3ef931dbe518d5605a3.tar.xz freeipa-578cff956738af06b005c3ef931dbe518d5605a3.zip |
Workaround for ticket 5627
https://fedorahosted.org/freeipa/ticket/5723
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipatests/test_integration')
-rw-r--r-- | ipatests/test_integration/test_replica_promotion.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ipatests/test_integration/test_replica_promotion.py b/ipatests/test_integration/test_replica_promotion.py index 300cd05a7..45bfdd22e 100644 --- a/ipatests/test_integration/test_replica_promotion.py +++ b/ipatests/test_integration/test_replica_promotion.py @@ -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, |