Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SatisfiedExpectations (0.24 sec)

  1. pkg/controller/daemon/daemon_controller_test.go

    		dsKey, err := controller.KeyFunc(ds)
    		if err != nil {
    			t.Fatalf("error get DaemonSets controller key: %v", err)
    		}
    
    		if !manager.expectations.SatisfiedExpectations(logger, dsKey) {
    			t.Errorf("Unsatisfied pod creation expectations. Expected %d", creationExpectations)
    		}
    	}
    }
    
    func TestSimpleDaemonSetUpdatesStatusAfterLaunchingPods(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller_test.go

    	}
    }
    
    type FakeJobExpectations struct {
    	*controller.ControllerExpectations
    	satisfied    bool
    	expSatisfied func()
    }
    
    func (fe FakeJobExpectations) SatisfiedExpectations(logger klog.Logger, controllerKey string) bool {
    	fe.expSatisfied()
    	return fe.satisfied
    }
    
    // TestSyncJobExpectations tests that a pod cannot sneak in between counting active pods
    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