designate-tempest-plugin/designate_tempest_plugin/services/dns
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
..
admin Add __all__ to __init__ for service clients 2017-11-22 15:20:03 +00:00
json Merge "Remove six" 2022-06-15 18:13:39 +00:00
query Fix checking of the [dns].nameservers value 2022-11-07 17:24:05 +01:00
v2 Recordset scenario test suite changes 2022-07-24 11:46:07 +03:00
__init__.py Remove v1 API tests 2021-07-06 22:33:56 +00:00