1. 09 Mar, 2022 2 commits
  2. 25 Feb, 2022 1 commit
    • Lilach Avraham's avatar
      Adding new test cases for zone export showfile API · 32602998
      Lilach Avraham authored
          1) "test_show_exported_zonefile_impersonate_another_project"
             Admin user is able to impersonate another project
             and to "show" created by tenant exports.
             Note: based on: 'x-auth-sudo-project-id' HTTP header.
      
          2) "test_show_exported_zonefile_all_projects"
             Use admin client to show zone export file of
             all tenants.
             Note: based on: "x-auth-all-projects" HTTP header.
      
          3) "test_show_exported_zonefile_any_mime_type"
             Validate that 200 OK and Content-Type: text/dns
             is received when client.
             sends "Accept: */*".
      
          4) "test_missing_accept_headers"
             Client request is missing Accept header.
             The header will be send with empty dict.
             Expected: {Content-Type: text/dns}
      
          5) "test_show_zonefile_using_not_existing_zone_export_id"
             "404 Not Found" is expected when not existing
             ID is used by client.
      
          6)"test_show_zonefile_not_supported_accept_value"
            Client sends 'Accept':'image/jpeg' for ShowZoneFile API.
            Expected: 406 Not Acceptable.
      
      Change-Id: I8aa5dfe12781f21b9f41e0df19afb0e46eab31d8
      32602998
  3. 17 Feb, 2022 1 commit
  4. 31 Jan, 2022 1 commit
  5. 29 Jan, 2022 1 commit
  6. 25 Jan, 2022 1 commit
    • dekehn's avatar
      Removal of tox envlist py3X · e32fe1a5
      dekehn authored
      The removal of the envlist list value for unit test lessens the
      confusion that the tempest test are tests in themselves and
      hence we do not test the tests.
      
      With the presents of the tox envlist, tox tries to run the tempest
      tests as unit test, which results in failure and potential confusion.
      The scope of tempest tests (Integration test) and unit test are
      understandably different.
      
      Change-Id: Ie016eca756c441cf557100c5227d640475885e4a
      e32fe1a5
  7. 19 Jan, 2022 1 commit
    • Michael Johnson's avatar
      Add stable branch check jobs · 1e6cadf3
      Michael Johnson authored
      designate-tempest-plugin is a branchless repository (no stable branches),
      so we should have check jobs that make sure new tests don't artificially
      fail when run against the stable branches.
      
      Change-Id: I6529af7f4e2222a2cf4a1f937601d7be119e182a
      1e6cadf3
  8. 13 Jan, 2022 2 commits
  9. 10 Jan, 2022 1 commit
  10. 09 Jan, 2022 1 commit
    • Arkady Shtempler's avatar
      Covering more DNS record types to be tested · a0ed64ed
      Arkady Shtempler authored
      1) test_create_and_delete_records_on_existing_zone
         Extending of the existing test to cover more recordset types.
      2) test_create_soa_record_not_permitted
         No user is able to create a SOA record.
      
      Change-Id: If09d793f786de7c2530eb08026afeda76b2df766
      a0ed64ed
  11. 27 Dec, 2021 2 commits
  12. 14 Dec, 2021 1 commit
    • Michael Johnson's avatar
      Fix PTR API tests for scoped tokens · 0ed7644b
      Michael Johnson authored
      The PTR API tests were not using scoped tokens even though a test
      job had scoped tokens enabled. This was not caught because the scoped
      token patch for designate has not yet merged.
      This patch updates the PTR API tests to use a scoped token for
      admin if scoped tokens are enabled in the test run.
      
      Change-Id: I259e7b94aae2e7794dd2514bb50cdc811c518845
      0ed7644b
  13. 08 Dec, 2021 1 commit
  14. 01 Dec, 2021 1 commit
  15. 30 Nov, 2021 2 commits
    • Arkady Shtempler's avatar
      Stabilizing “PTR record” tests suite and adding new test cases · b8ea4caf
      Arkady Shtempler authored
      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
      b8ea4caf
    • Zuul's avatar
      1665c0dc
  16. 29 Nov, 2021 2 commits
  17. 22 Nov, 2021 1 commit
    • Michael Johnson's avatar
      Fix API version test to not assume dns endpoint · c8cc1c9e
      Michael Johnson authored
      The test_list_enabled_api_versions test was assuming the location of
      the dns endpoint, but in some deployment that assumption is not true.
      For example, if designate is using a specific port for the endpoint.
      
      This patch corrects the test to use the keystone catalog to find the
      proper designate API endpoint.
      
      Change-Id: Ica672983214774d3ba38391d5fca6d42691f8e2a
      c8cc1c9e
  18. 18 Nov, 2021 1 commit
    • Michael Johnson's avatar
      Fix blacklist scenario tests for scoped tokens · 273f9ae1
      Michael Johnson authored
      The blacklist scenario tests were added after the scoped token support
      was added to designate-tempest-plugin. Since the scoped token jobs have
      not yet merged in designate, we didn't catch that these tests were not
      ready for scoped tokens.
      This patch updates the test suite to use the system scoped admin token
      when the tests are being run with scoped token support.
      
      Change-Id: Ibfa282f6e54856cc9e9d4de1289de2c75e9db676
      273f9ae1
  19. 16 Nov, 2021 1 commit
    • Michael Johnson's avatar
      Adds an API test for list transfer requests sudo · 0182365e
      Michael Johnson authored
      This patch adds an API test the lists transfer requests using the
      x-auth-sudo-project-id header and validates that the correct transfer
      request is returned.
      
      Change-Id: Ib4cfd1221f128ec4e37ba32e9118b2f88d924561
      0182365e
  20. 14 Nov, 2021 1 commit
  21. 08 Nov, 2021 1 commit
  22. 06 Nov, 2021 1 commit
  23. 31 Oct, 2021 1 commit
  24. 30 Oct, 2021 3 commits
  25. 28 Oct, 2021 2 commits
    • zahlabut's avatar
      List enabled Designate API versions · 919aa283
      zahlabut authored
      Test uses: Admin, Primary and Not Authorized users, to list
      all enabled API versions.
      Test is PASS if the received version/s list is in:
      [['v1'], ['v2'], ['v1', 'v2']]
      
      Change-Id: I829011ef0c13f0fd942c75dce826e550ff9b313d
      919aa283
    • zahlabut's avatar
      Create "A" type recordset using a list of IPs records · 5260227c
      zahlabut authored
      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
      5260227c
  26. 26 Oct, 2021 2 commits
    • Michael Johnson's avatar
      Unroll DDT API tests used for refstack/interop · f871a0e7
      Michael Johnson authored
      This patch unrolls the test_create_all_recordset_types API tests from
      using DDT. DDT is not OpenStack aware, so the idempotent_id's end up
      being duplicated and the test names can be inconsistent due to value
      padding.
      This test has a limited number of combinations, so it is easy to unroll
      these into stub tests that call a common, private, test method.
      
      Closes-Bug: 1943115
      Change-Id: I6d7c9358a336eedb313157ebad666d37d18f03d3
      f871a0e7
    • zahlabut's avatar
      New test cases for quota tests suite · a8a8eaf6
      zahlabut authored
      1) test_admin_sets_quota_for_a_project
         Admin client sets quotas for a primary project
      2) test_primary_fails_to_set_quota
         Primary user fails to set quotas with: "403 Forbidden"
      3) test_admin_sets_invalid_quota_values
         Admin user tries to set quotas that with invalid
         values. Expected: "400 BadRequest"
      4) test_alt_reaches_zones_quota
         Alt user tries to create a zones up untill
         "413 RateLimitExceeded" is raised
      
      Change-Id: I47e8371e55f07afe0dbea95f804f3833f42fa1ef
      a8a8eaf6
  27. 25 Oct, 2021 3 commits
    • zahlabut's avatar
      Adding a new test: "test_create_zone_validate_recordsets_created" · c4059164
      zahlabut authored
      Recordsets types: SOA and NS should be automatically created for a zone.
      Test validates this functionality for a Primary type zone.
      
      Change-Id: I217cbabfd6b0330472b43eb5bd1e57020a19d12f
      c4059164
    • zahlabut's avatar
      Adding negative test for a Primary user · dcd00fa1
      zahlabut authored
      1) test_primary_is_forbidden_to_list_service_statuses
         Make sure that Primary user fails to activate
         "List Services Status" API with 403 Forbidden.
      
      Change-Id: I840b98135017cc7fdee77f51223e0bfe2ae1ae74
      dcd00fa1
    • zahlabut's avatar
      New test cases for blacklist test suite · f0afa236
      zahlabut authored
      1) test_create_blacklist_as_primary_fails
         Primary user is not allowed to create blacklist.
      2) test_primary_fails_to_create_zone_matches_blacklist_regex
         Zone is failed to be created if its name matches existing
         blacklist regex.
      3) test_primary_fails_to_create_zone_matches_blacklist_name
         Zone is failed to be created if its name is in blacklist.
      4) test_admin_creates_zone_matches_blacklist_name_or_regex
         Users with the Admin role bypass the deny list check.
      5) test_create_blacklist_invalid_pattern
         Create blacklist using invalid patterns.
      6) test_create_blacklist_huge_size_description
         Create blacklist using huge size description string.
      
      Change-Id: I6e924d5ba9b411b427e9eed358a90e9ece56156d
      f0afa236
  28. 20 Oct, 2021 2 commits