7f1803f Fix test_server_del::TestLastServices

1 file Authored by pvoborni 5 years ago, Committed by rcritten 5 years ago,
    Fix test_server_del::TestLastServices
    
    The reason why the test started to fail is probably commit be3ad1e where the checks
    were reordered. TestLastServices relies on execution of tests in a specific order.
    So it fails given that checks were changed but tests weren't.
    
    Given that master is installed with DNS and CA and replica with anything and given
    that checks in server-del command are in order: DNS, DNSSec, CA, KRA then the test
    should be something like:
    * install master (with DNS, CA)
    * install replica
    * test test_removal_of_master_raises_error_about_last_dns
    * test_install_dns_on_replica1_and_dnssec_on_master (installing DNS and
      DNSSec will allow DNSSec check)
    * test_removal_of_master_raises_error_about_dnssec
    * test_disable_dnssec_on_master (will allow CA check)
    * test_removal_of_master_raises_error_about_last_ca
    * test_forced_removal_of_master
    
    https://pagure.io/freeipa/issue/7517
    
    Signed-off-by: Petr Vobornik <pvoborni@redhat.com>
    Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
    Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>