Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup created accounts and buckets after tests #2152

Open
wants to merge 5 commits into
base: development/2.6
Choose a base branch
from

Commits on Sep 25, 2024

  1. Code formatting

    Issue: ZENKO-4898
    williamlardier committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    b6314d8 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Unify bucket creation and cleanup

    - Remove duplicated logic
    - Use a world-managed function to keep track of created objects
    - Clean the buckets at the end of any test, unless it failed, to
      ease debugging.
    
    Issue: ZENKO-4898
    williamlardier committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    a464062 View commit details
    Browse the repository at this point in the history
  2. Cleanup created accounts

    - Assume role tests create additional accounts that we must clean
      at the end of any (successful) scenario.
    - This ensures that the GetRolesForWebIdentity calls are not
      impacted by the high number of accounts.
    
    Issue: ZENKO-4898
    williamlardier committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    a781df4 View commit details
    Browse the repository at this point in the history
  3. Simplify and unify pradb name

    - Quotas are not needed, plus, they cause errors when using the
      env variable in a kubectl command.
    
    Issue: ZENKO-4898
    williamlardier committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    9bbca11 View commit details
    Browse the repository at this point in the history
  4. Dump mongodb at the end of the tests

    - Tests should cleanup resources, unless a scenario failed
    - Use of mongodump and bsondump for fast speed
    
    Issue: ZENKO-4898
    williamlardier committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    7ab8dce View commit details
    Browse the repository at this point in the history