designate-tempest-plugin/designate_tempest_plugin/common
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 Initial layout of Designate tempest plugin 2016-04-07 08:08:46 +01:00
constants.py Adds new scenario test to the Zones suite + minor refactoring 2022-05-12 14:50:14 +03:00
exceptions.py Fix waiters to raise on resources going to ERROR 2022-01-31 23:25:19 +00:00
models.py Add __ne__ built-in function 2016-10-16 09:27:14 +08:00
waiters.py Fix checking of the [dns].nameservers value 2022-11-07 17:24:05 +01:00