Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for DeepDerivative (0.46 sec)

  1. 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)
  2. 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)
Back to top