Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DeviceMountState (0.12 sec)

  1. pkg/volume/testing/testing.go

    		_, ok := fv.DeviceMountState[fv.VolName]
    		if !ok {
    			fv.DeviceMountState[fv.VolName] = deviceMountUncertain
    			return "", volumetypes.NewUncertainProgressError("timed out mounting error")
    		}
    		fv.DeviceMountState[fv.VolName] = deviceNotMounted
    		return "", fmt.Errorf("error mapping disk: %s", fv.VolName)
    	}
    
    	if fv.VolName == SuccessAndTimeoutDeviceName {
    		_, ok := fv.DeviceMountState[fv.VolName]
    		if ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    			},
    		},
    	}
    	return pod
    }
    
    func Test_UncertainDeviceGlobalMounts(t *testing.T) {
    	var tests = []struct {
    		name                   string
    		deviceState            operationexecutor.DeviceMountState
    		unmountDeviceCallCount int
    		volumeName             string
    		supportRemount         bool
    	}{
    		{
    			name:                   "timed out operations should result in device marked as uncertain",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top