From 5f8fd8a8e3dfbd8542d4948f799e5f6ee986c957 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Tue, 21 Jul 2015 14:12:31 +0200 Subject: tests: realmdomains_plugin: Add explanatory comment The realmdomains_mod command will fail if the testing environment is configured improperly and the IPA domain's NS/SOA records are not resolvable. This can easily happen if the machine's DNS server is not configured to the IPA server. Leave a explanatory note in the class. Reviewed-By: Martin Basti --- ipatests/test_xmlrpc/test_realmdomains_plugin.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ipatests/test_xmlrpc/test_realmdomains_plugin.py b/ipatests/test_xmlrpc/test_realmdomains_plugin.py index fc04e2ae5..703f77d1e 100644 --- a/ipatests/test_xmlrpc/test_realmdomains_plugin.py +++ b/ipatests/test_xmlrpc/test_realmdomains_plugin.py @@ -36,6 +36,9 @@ bad_domain = u'doesnotexist.test' class test_realmdomains(Declarative): + # Make sure your environment has sound DNS configuration where + # the IPA domain has either NS or SOA record. Check your resolver + # if getting errors with the realmdomains_mod cleanup command. cleanup_commands = [ ('realmdomains_mod', [], {'associateddomain': [our_domain]}), ] -- cgit