Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestJobBackoff (0.11 sec)

  1. pkg/controller/job/job_controller_test.go

    	return f.requeues
    }
    func (f *fakeRateLimitingQueue) AddAfter(item string, duration time.Duration) {
    	f.item = item
    	f.duration = duration
    }
    
    func TestJobBackoff(t *testing.T) {
    	_, ctx := ktesting.NewTestContext(t)
    	logger := klog.FromContext(ctx)
    	job := newJob(1, 1, 1, batch.NonIndexedCompletion)
    	oldPod := newPod(fmt.Sprintf("pod-%v", rand.String(10)), job)
    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