Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pkg/scheduler/internal/queue/scheduling_queue_test.go

    				t.Errorf("got backoff %s, want %s", backoff, step.wantBackoff)
    			}
    
    			// Simulate routine that continuously flushes the backoff queue.
    			cl.Step(time.Millisecond)
    			q.flushBackoffQCompleted(logger)
    			// Still in backoff queue after an early flush.
    			if _, ok, _ := q.podBackoffQ.Get(podInfo); !ok {
    				t.Errorf("pod %v is not in the backoff queue", podID)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller_test.go

    			2, 0, 0, nil, "",
    		},
    		"suspending a job": {
    			2, 4, 6,
    			true, []int32{1, 1}, v1.PodRunning,
    			0, 0, 0, &jobConditionSuspended, "JobSuspended",
    		},
    		"finshed job": {
    			2, 4, 6,
    			true, []int32{1, 1, 2, 0}, v1.PodSucceeded,
    			0, 4, 0, &jobConditionComplete, "",
    		},
    	}
    
    	for name, tc := range testCases {
    		t.Run(name, func(t *testing.T) {
    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