Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for findAndRemoveDeletedPods (0.26 sec)

  1. pkg/controller/volume/attachdetach/populator/desired_state_of_world_populator_test.go

    	if !volumeExists {
    		t.Fatalf(
    			"VolumeExists(%q) failed. Expected: <true> Actual: <%v>",
    			expectedVolumeName,
    			volumeExists)
    	}
    
    	fakePodInformer.Informer().GetStore().Delete(pod)
    	dswp.findAndRemoveDeletedPods(logger)
    	//check if the given volume referenced by the pod still exists in dsw
    	volumeExists = dswp.desiredStateOfWorld.VolumeExists(expectedVolumeName, k8stypes.NodeName(pod.Spec.NodeName))
    	if volumeExists {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top