Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for unmountdevice (0.22 sec)

  1. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    			deviceToDetach := operationexecutor.AttachedVolume{VolumeSpec: tmpSpec, PluginName: "fake-file-plugin"}
    			err := oex.UnmountDevice(deviceToDetach, asw, hostutil)
    			// Assert
    			if assert.Error(t, err) {
    				assert.Contains(t, err.Error(), tc.expectedErrMsg)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_attacher_test.go

    			}
    			// Clear out the client if specified
    			// The lookup to generate a new client will fail
    			if tc.unsetClient {
    				csiAttacher.csiClient = nil
    			}
    
    			// Run
    			err := csiAttacher.UnmountDevice(tc.deviceMountPath)
    			// Verify
    			if err != nil {
    				if !tc.shouldFail {
    					t.Errorf("test should not fail, but error occurred: %v", err)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  3. pkg/volume/testing/testing.go

    	// TimeoutOnMountDeviceVolumeName will cause MountDevice call to timeout but Setup will finish.
    	TimeoutOnMountDeviceVolumeName = "timeout-mount-device-volume"
    	// TimeoutAndFailOnMountDeviceVolumeName will cause first MountDevice call to timeout but second call will fail
    	TimeoutAndFailOnMountDeviceVolumeName = "timeout-and-fail-mount-device-name"
    	// FailMountDeviceVolumeName will cause MountDevice operation on volume to fail
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top