Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsVolumeAttached (0.41 sec)

  1. pkg/volume/flexvolume/attacher_test.go

    			specJSON(plugin, spec, nil)),
    	)
    
    	a, _ := plugin.NewAttacher()
    	a.MountDevice(spec, "/dev/sdx", rootDir+"/mount-dir", volume.DeviceMounterArgs{})
    }
    
    func TestIsVolumeAttached(tt *testing.T) {
    	t := harness.For(tt)
    	defer t.Close()
    
    	spec := fakeVolumeSpec()
    
    	plugin, _ := testPlugin(t)
    	plugin.runner = fakeRunner(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 03 23:29:42 UTC 2021
    - 2.2K bytes
    - Viewed (0)
Back to top