designate-tempest-plugin/designate_tempest_plugin/services/dns/query
Lukáš Piwowarski 4f2367f64a Fix checking of the [dns].nameservers value
This patch [1] introduced checking whether the CONF.dns.nameservers
is empty. If the CONF.dns.nameservers value is empty then the
initialization of the QueryClient fails. This change makes the majority
of designate-tempest-plugin tests fail even tests that do not use the
QueryClient.

This patch introduces three changes:

1) ValueError is raised only when the query() function is called so
   that only tests that actually use the query() function fail.

2) wait_for_query() function is fixed so that it never succeeds when the
   CONF.dns.nameservers value is empty.

3) Skip tests that rely upon [dns].nameserver value.

[1] https://review.opendev.org/c/openstack/designate-tempest-plugin/+/860116

Change-Id: Iedd151b2e47ed62adc168a97cb6021ccb47abb0f
2022-11-07 17:24:05 +01:00
..
__init__.py Add a client for querying nameservers 2016-05-13 22:12:10 +00:00
query_client.py Fix checking of the [dns].nameservers value 2022-11-07 17:24:05 +01:00