Commit c48b2cab authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #42678 from liggitt/user-fuzzer

Automatic merge from submit-queue Fix user fuzzer to avoid round trip flake Fixes #42651
parents c3d7ee11 2963f32c
......@@ -686,6 +686,10 @@ func rbacFuncs(t apitesting.TestingCommon) []interface{} {
r.Kind = rbac.UserKind
r.APIGroup = rbac.GroupName
c.FuzzNoCustom(&r.Name)
// user "*" won't round trip because we convert it to the system:authenticated group. try again.
for r.Name == "*" {
c.FuzzNoCustom(&r.Name)
}
case 2:
r.Kind = rbac.GroupKind
r.APIGroup = rbac.GroupName
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment