Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestControllerV2UpdateCronJob (0.32 sec)

  1. pkg/controller/cronjob/cronjob_controllerv2_test.go

    	key   interface{}
    }
    
    func (f *fakeQueue) AddAfter(key string, delay time.Duration) {
    	f.delay = delay
    	f.key = key
    }
    
    // this test will take around 61 seconds to complete
    func TestControllerV2UpdateCronJob(t *testing.T) {
    	tests := []struct {
    		name          string
    		oldCronJob    *batchv1.CronJob
    		newCronJob    *batchv1.CronJob
    		expectedDelay time.Duration
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 70.8K bytes
    - Viewed (0)
Back to top