Skip to content

Conversation

@engelke
Copy link
Contributor

@engelke engelke commented Apr 10, 2023

Description

Fixes #9532 #9525 #9526

There is a hard quota of 300 custom roles per project, and deleted custom roles still count against that quota for up to 14 days, so this test now creates and deletes only one custom role when run.

@engelke engelke requested a review from a team as a code owner April 10, 2023 20:49
@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: iam Issues related to the Identity and Access Management API. labels Apr 10, 2023
@engelke
Copy link
Contributor Author

engelke commented Apr 10, 2023

The existing test suite creates deletes several tests, but the deleted tests still count against quota for up to 14 days. Now that the quota has been hit, it seems that there will never be enough unused quota for the test suite to create all the roles it wants to before it uses it up again. We should merge this change so the test suite uses only one role, and once the old deleted roles start to age out, it should be able to run to completion.

@m-strzelczyk
Copy link
Contributor

I agree to admin-merge this, but first fix the lint problem :)

@m-strzelczyk m-strzelczyk merged commit 5085bed into main Apr 11, 2023
@m-strzelczyk m-strzelczyk deleted the engelke-fix-custom-roles-tests branch April 11, 2023 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: iam Issues related to the Identity and Access Management API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Address quota issues for IAM create/delete custom role issue

5 participants