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
1) test_api_export_size_quota
Verifies: "Number of recordsets allowed in a zone export"
2) test_recordset_records_quota
Verifies: "Number of records allowed per recordset"
3) test_zone_records_quota
Verifies: "Number of records allowed per zone"
4) test_zone_recordsets_quota
Verifies: "Number of records allowed per recordset"
5) test_zones_quota (modify)
Verifies: "The number of zone allowed per project"
Change-Id: Ia89091087f004e174f38ca0685605057abbf5cdd
A previous patch[1] updated the wait_for_zone_404 to raise an execption
when the zone goes to ERROR.
This patch updates the rest of the waiters to also abort waiting if the
resource goes into the ERROR status.
[1] https://review.opendev.org/c/openstack/designate-tempest-plugin/+/820075
Change-Id: I5d1e549ccd75fbda518e8851430f58cfa849bd97
This patch enhances the NotFound/404 waiter to not continue to wait
for a 404 if the zone goes into status ERROR.
Change-Id: I27d5d654b2b2b2b4cd8b8e85fdb1d7b1e4162516
Stabilizing
1) The same TLD is used by default for all tests
2) Adding waiters for set/unset PTR records
New test cases
1) test_show_floatingip_ptr_impersonate_another_project
2) test_list_floatingip_ptr_all_projects
3) test_set_floatingip_ptr_not_existing_fip_id
4) test_set_floatingip_ptr_huge_size_description
5) test_set_floatingip_ptr_invalid_name
Note:
This tests also includes refactoring of the existing tests.
Negative logic is now removed from positive test cases and
implemented separatly in DesignatePtrRecordNegative class.
Change-Id: I64483c3d8e1ae44db7712b3e463ae4ea239a613a
This patch makes the API tests compatible with keystone scoped
tokens and the new RBAC defaults.
For example, admin system scoped tokens do not have a project_id associated
with them requiring some tests to be updated to not assume the admin
credential always has a project_id.
This patch also makes some sections consistently ordered across files.
Change-Id: Ie2c7402967f40bb90e0d97dad1c3d59f82cb6d80
tempest.lib.common.utils.misc.find_test_caller has been moved into the
tempest.lib.common.utils.test_utils module. We should update the related
code which call it.
Change-Id: I5b6611c0eaeaa2a4eea8fafaf0054c5e9bb44467
This renames a couple of the zone export client methods. It also
fixes an issue with the (newly named) `show_exported_zone` function
which wasn't passing the right number of arguments.
Change-Id: Ie0cce8710e0ef17dc391cb5bdd150a63b57d2f72
See https://review.openstack.org/283511 for history.
Change-Id: I7733e8786d6b525a7c9a8d4f12add329cd030d9d
Partially-Implements: blueprint designate-tempest-plugin