freeipa/ipatests/pytest_plugins
Christian Heimes dae4aac912 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>
2018-06-21 15:54:49 +02:00
..
integration Tests: Set default TTL for DNS zones to 1 sec 2018-06-21 15:54:49 +02:00
__init__.py Declarative tests: Switch to pytest 2014-11-21 12:14:44 +01:00
additional_config.py Pretty-print structures in assert_deepequal 2016-09-30 09:55:58 +02:00
beakerlib.py Have all the scripts run in python 3 by default 2018-02-15 18:43:12 +01:00
declarative.py Remove unused variables in tests 2016-09-27 13:35:58 +02:00
nose_compat.py Compatibility with pytest 3.4 2018-04-30 14:13:40 +02:00