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>
This commit is contained in:
1 parent
12395a94f3
commit
5f8fd8a8e3
1 file changed
+3
@@ -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]}),
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user