Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectNoUpdate (0.75 sec)

  1. pkg/kubelet/prober/results/results_manager_test.go

    	m.Set(barID, Failure, pod)
    	expectUpdate(Update{barID, Failure, pod.UID}, "new failure")
    
    	// Unchanged results should not send an update.
    	m.Set(fooID, Success, pod)
    	expectNoUpdate("unchanged foo")
    
    	m.Set(barID, Failure, pod)
    	expectNoUpdate("unchanged bar")
    
    	// Changed results should send an update.
    	m.Set(fooID, Failure, pod)
    	expectUpdate(Update{fooID, Failure, pod.UID}, "changed foo")
    
    	m.Set(barID, Success, pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 02 10:55:41 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		expectInvalidObjErr bool
    		expectNoUpdate      bool
    		transformStale      bool
    		hasSelfLink         bool
    	}{{
    		name:                "non-existing key, ignoreNotFound=false",
    		key:                 "/non-existing",
    		ignoreNotFound:      false,
    		precondition:        nil,
    		expectNotFoundErr:   true,
    		expectInvalidObjErr: false,
    		expectNoUpdate:      false,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
Back to top