8cbc971 Tests: Set default TTL for DNS zones to 1 sec

2 files Authored by cheimes 5 years ago, Committed by tdudlak 5 years ago,
    Tests: Set default TTL for DNS zones to 1 sec
    
    When running IPA tests, a default TTL for the zone should be set
    very low to allow get rid of timeouts in the tests. Zone updates should
    be propagated to the clients as soon as possible.
    
    This is not something that should be used in production so the change is
    done purely at install time within the tests. As zone information is
    replicated, we only modify it when creating a master with integrated
    DNS.
    
    This change should fix a number of DNSSEC-related tests where default
    TTL is longer than what a test expects and a change of DNSSEC keys
    never gets noticed by the BIND. As result, DNSSEC tests never match
    their expected output with what they received from the BIND.
    
    Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
    Co-authored-by: Alexander Bokovoy <abokovoy@redhat.com>
    Signed-off-by: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Tibor Dudlak <tdudlak@redhat.com>