c1272e4 ipatests: fix TestMigrateDNSSECMaster teardown

1 file Authored by frenaud 4 years ago, Committed by cheimes 4 years ago,
    ipatests: fix TestMigrateDNSSECMaster teardown
    
    The test is installing master +DNSSEC, then replica and migrates the DNSSEC
    to the replica.
    During teardown, the replica is removed with ipa server-del. This operation
    deletes the entries cn=DNS and cn=DNSSEC on the master, but if the
    replication is stopped before the operations are replicated on the replica,
    the replica may end up with a dangling cn=DNSSEC entry and no cn=DNS entry.
    In this case ipa-server-install --uninstall on the replica will fail.
    
    The fix: uninstall the DNSSec master as the last step of teardown
    
    Related: https://pagure.io/freeipa/issue/7985
    Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>