- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for NilChance (0.12 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/validation_test.go
if c.RandBool() { *vv = &NestedValueValidation{} } }, func(vv *NestedValueValidation, c fuzz.Continue) { if c.RandBool() { *vv = NestedValueValidation{} } }, ) fuzzer.NilChance(0) // check that type must be object typeNames := []string{"object", "array", "number", "integer", "boolean", "string"} for _, typeName := range typeNames { s := Structural{ Generic: Generic{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 18:20:00 UTC 2024 - 11.6K bytes - Viewed (0) -
pilot/pkg/model/virtualservice_test.go
} }) } } // Note: this is to prevent missing merge new added HTTPRoute fields func TestFuzzMergeHttpRoute(t *testing.T) { f := fuzz.New().NilChance(0.5).NumElements(0, 1).Funcs( func(r *networking.HTTPRoute, c fuzz.Continue) { c.FuzzNoCustom(r) r.Match = []*networking.HTTPMatchRequest{{}} r.Route = nil r.Redirect = nil r.Delegate = nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 60.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
if err == nil || !errors.IsAlreadyExists(err) { t.Error("Expected already exists error") } } func TestNewCreateOptionsFromUpdateOptions(t *testing.T) { f := fuzz.New().NilChance(0.0).NumElements(1, 1) // The goal here is to trigger when any changes are made to either // CreateOptions or UpdateOptions types, so we can update the converter. for i := 0; i < 20; i++ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go
seed := int64(5577006791947779410) f := fuzzer.FuzzerFor(fuzzerFuncs, rand.NewSource(seed), codecs) // fuzz internal types schema := &apiextensions.JSONSchemaProps{} f.NilChance(0).NumElements(10, 10).MaxDepth(10).Fuzz(schema) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { if SchemaHas(schema, func(_ *apiextensions.JSONSchemaProps) bool { return false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 349.4K bytes - Viewed (0)