summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2015-07-21 14:12:31 +0200
committerTomas Babej <tbabej@redhat.com>2015-07-22 11:10:49 +0200
commit5f8fd8a8e3dfbd8542d4948f799e5f6ee986c957 (patch)
treec0ccd6ce60f42e2e42f66ffcb41b27724849c968
parent12395a94f38f4db23e356a6f7d96629155c02532 (diff)
downloadfreeipa-5f8fd8a8e3dfbd8542d4948f799e5f6ee986c957.tar.gz
freeipa-5f8fd8a8e3dfbd8542d4948f799e5f6ee986c957.tar.xz
freeipa-5f8fd8a8e3dfbd8542d4948f799e5f6ee986c957.zip
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 <mbasti@redhat.com>
-rw-r--r--ipatests/test_xmlrpc/test_realmdomains_plugin.py3
1 files changed, 3 insertions, 0 deletions
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]}),
]