Some of the tests expect to be able to sort on the pool NS record priority. However, the rand_ns_records fake data generator can create NS records with equal priority which leads to undefined sort orders and ultimately invalid test failures.[2]
This patch makes sure the fake ns records created for tests never have equal priority values.
[2] https://zuul.opendev.org/t/openstack/build/69325d93f36042f390b4301cfadd3aa8/log/job-output.txt#21738
Change-Id: Ic04d1fe093dee54da64ccb238e9650ad5fc47eb8
This patch adds the Designate hacking checks to also run against
the Designate tempest plugin code to maintain consistent style
checking across the Designate repositories.
Change-Id: I8f41bb8188ba8442dbf493dac39b8601f5208938
1) Refactoring - moving negative test cases to the
dedicated class
2) "test_create_zone_ttl_zero" - create a Zone with TTL:0
and make sure that the created Zone has TTL:0
Change-Id: I96022307ef1e8deb59015c284c5fadce70720c82
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
1) Moving "test_create_zone_for_not_existing_tld" from API
to scenario: "test_create_zone_using_not_existing_tld"
Create a Zone using not existing TLD is supposed to FAIL
2) New test case: "test_create_zone_using_existing_tld"
Create a Zone using existing TLD is supposed to PASS
3) Using indexes instead of underscores variables
4) Adding "tld_suffix" parameter into configuration (default is: 'com')
to avoid (Non existing TLD) issues. All tests will be using
the same(common) TLD suffix.
Change-Id: Ie9fca2598a3eab66f9cbd718e52e575744def160
1) "test_admin_updates_soa_and_ns_recordsets"
Admin uses "x-designate-edit-managed-records" header
to update SOA and NS records.
Expected: update request is getting blocked by the API
Change-Id: I4f60dfe62cfae4ffe658fc71d85cd2130054c89f
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
Test name: test_create_A_recordset_multiply_ips
Note: this patch is also fixes missing cleanups and adds
the existing constants to be used in code.
Change-Id: I0904803f7e3ac5635babfc82f409a0e38685c9fa
(Check TXT/SPF records for RFC1035 sec. 5.1.)
Adds quotes and escape for quotes across the TXT/SPF data sets and tests.
Needed-By: https://review.openstack.org/#/c/555398
Change-Id: I5c8160a1cd4a41c4931ab852d478753bb98f4b7d
Closes-Bug: 1755788
This patch adds zone transfer_request_client's methods and tests
to Designate tempest plugin.
Partially-Implements: blueprint designate-tempest-plugin
Change-Id: I0c5b4a5796c398fb1d24cde124203c865ea21833
This ensures we can specify the minimum ttl to use when creating zones
or recordsets from random ttls, which includes some refactoring to use
a single method for generating ttls.
Change-Id: I5c8620ff5a15b935ba075bec1f9750dbae4ffb70
See https://review.openstack.org/283511 for history.
Change-Id: I7733e8786d6b525a7c9a8d4f12add329cd030d9d
Partially-Implements: blueprint designate-tempest-plugin