Commit f2ec6104 authored by Cao Shufeng's avatar Cao Shufeng

[advanced audit api] fuzz Event with random value

This is an error import by me: https://github.com/kubernetes/kubernetes/pull/49115 We need to fuzz other parts of Event with random value, otherwise this round trip test will not make too much sense. @sttts @ericchiang
parent a1234aa2
......@@ -28,6 +28,7 @@ import (
func Funcs(codecs runtimeserializer.CodecFactory) []interface{} {
return []interface{}{
func(e *audit.Event, c fuzz.Continue) {
c.FuzzNoCustom(e)
switch c.RandBool() {
case true:
e.RequestObject = nil
......
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