Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestControllerV2SyncCronJob (0.21 sec)

  1. pkg/controller/cronjob/cronjob_controllerv2_test.go

    	return T1
    }
    
    func weekAfterTheHour() time.Time {
    	T1, err := time.Parse(time.RFC3339, "2016-05-26T10:00:00Z")
    	if err != nil {
    		panic("test setup error")
    	}
    	return T1
    }
    
    func TestControllerV2SyncCronJob(t *testing.T) {
    	// Check expectations on deadline parameters
    	if shortDead/60/60 >= 1 {
    		t.Errorf("shortDead should be less than one hour")
    	}
    
    	if mediumDead/60/60 < 1 || mediumDead/60/60 >= 24 {
    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