Skip to content

Streamline tag tests #1997

@Klaas-

Description

@Klaas-
SUMMARY

in #1964 @Fred-sun and me spend quite a long time looking at how tags behave and should behave in the azure collection. The outcome is a (hopefully) complete test suite how tags should work that can/should be adopted into other modules that offer tag/append_tags support.

Essentially the test should be (always + idempotency verification)

  1. Creation of a resource without tags
  2. Creation of a resource with tags
  3. Adding a tag to 1)
  4. Adding another tag to 1) with explicit append_tags: true
  5. Replacing existing two tags on 1) with a different tag (append_tags: false)
  6. Remove tags (append_tags: false and tags unset)
ISSUE TYPE
  • Feature Idea
COMPONENT NAME

All resources that use tags

ADDITIONAL INFORMATION

It seems that tags on azure level are not properly streamlined: Azure/azure-rest-api-specs#35693 so there may be slight variations needed in the tests like in #1971

Metadata

Metadata

Assignees

No one assigned

    Labels

    not a bugNot a bugquestionFurther information is requestedwork inIn trying to solve, or in working with contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions