Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestDeletePodOrphan (0.17 sec)

  1. pkg/controller/daemon/daemon_controller_test.go

    		}
    		expectedKey, _ = controller.KeyFunc(ds2)
    		if got, want := key, expectedKey; got != want {
    			t.Errorf("queue.Get() = %v, want %v", got, want)
    		}
    	}
    }
    
    func TestDeletePodOrphan(t *testing.T) {
    	for _, strategy := range updateStrategies() {
    		logger, ctx := ktesting.NewTestContext(t)
    		manager, _, _, err := newTestController(ctx)
    		if err != nil {
    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

    	}
    	expectedKey, _ = controller.KeyFunc(job2)
    	if got, want := key, expectedKey; got != want {
    		t.Errorf("queue.Get() = %v, want %v", got, want)
    	}
    }
    
    func TestDeletePodOrphan(t *testing.T) {
    	// Disable batching of pod updates to show it does not get requeued at all
    	t.Cleanup(setDurationDuringTest(&syncJobBatchPeriod, 0))
    	logger, ctx := ktesting.NewTestContext(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