Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCountTerminatingPods (0.17 sec)

  1. pkg/controller/controller_utils_test.go

    	}
    
    	controllerSpec := newReplicationController(1)
    
    	err := podControl.DeletePod(context.TODO(), "namespace-name", "podName", controllerSpec)
    	assert.True(t, apierrors.IsNotFound(err))
    }
    
    func TestCountTerminatingPods(t *testing.T) {
    	now := metav1.Now()
    
    	// This rc is not needed by the test, only the newPodList to give the pods labels/a namespace.
    	rc := newReplicationController(0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top