- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DeepDerivative (0.23 sec)
-
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
} list, err := registry.ListPredicate(ctx, item.m, nil) if err != nil { t.Fatalf("Unexpected error %v", err) } // DeepDerivative e,a is needed here b/c the storage layer sets ResourceVersion if e, a := item.out, list; !apiequality.Semantic.DeepDerivative(e, a) { t.Fatalf("%v: Expected %#v, got %#v", name, e, a) } }) } }
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/apiserver/pkg/storage/cacher/cacher_whitebox_test.go
break } if e, a := tt.expectedEvent.Type, event.Type; e != a { t.Errorf("Expected: %s, got: %s", e, a) } if e, a := tt.expectedEvent.Object, event.Object; !apiequality.Semantic.DeepDerivative(e, a) { t.Errorf("Expected: %#v, got: %#v", e, a) } case <-time.After(1 * time.Second): // the watch was established otherwise // we would be blocking on cache.Watch(...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 82.9K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
} job, err := manager.jobLister.Jobs(ns).Get(name) if err != nil || job == nil { t.Errorf("Expected to find job under key %v: %v", key, err) return nil } if !apiequality.Semantic.DeepDerivative(*job, testJob) { t.Errorf("Expected %#v, but got %#v", testJob, *job) } return nil } // Start only the job watcher and the workqueue, send a watch event, // and make sure it hits the sync method.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0)