-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Remove usless test and resolved comments #16000
Conversation
/unassign |
/retest |
// the policy cache taking time to react | ||
// try to add Valerie to a non-existent role, looping until it is done. | ||
// If a Not Found error is raised, simply retry as this is likely due to | ||
// the role cache taking time to react |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think in general this wait no longer makes any sense (there is no role cache).
if err := addValerie.AddRole(); err != nil {
t.Fatalf("unexpected error: %v", err)
}
@deads2k any thoughts?
@@ -318,7 +319,7 @@ func TestAuthorizationResolution(t *testing.T) { | |||
roleWithGroup.Name = "with-group" | |||
roleWithGroup.Rules = append(roleWithGroup.Rules, authorizationapi.PolicyRule{ | |||
Verbs: sets.NewString("list"), | |||
Resources: sets.NewString("builds"), // TODO we may need to track these down | |||
Resources: sets.NewString("builds"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@deads2k do we care that this used to be Resources: sets.NewString("resourcegroup:builds")
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@deads2k do we care that this used to be Resources: sets.NewString("resourcegroup:builds")?
For the test? No.
Signed-off-by: Simo Sorce <[email protected]>
/retest |
Still seeing this flake even if it has been closed #14575 |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enj, simo5 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue (batch tested with PRs 15885, 15973, 16000) |
Fixes #15815