- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for waitforattach (0.11 sec)
-
pkg/volume/csi/csi_attacher_test.go
} wg.Wait() }) } } func TestAttacherWaitForVolumeAttachmentWithCSIDriver(t *testing.T) { // In order to detect if the volume plugin would skip WaitForAttach for non-attachable drivers, // we do not instantiate any VolumeAttachment. So if the plugin does not skip attach, WaitForVolumeAttachment // will return an error that volume attachment was not found. tests := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 58.1K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconciler_test.go
// Assert // 4. When the volume is mounted again, expect that UnmountDevice operation did not clear devicePath if devicePath == "" { klog.ErrorS(nil, "Expected WaitForAttach called with devicePath from Node.Status") close(finished) return "", fmt.Errorf("Expected devicePath from Node.Status") } close(finished) return devicePath, nil } fakePlugin.Unlock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 75.4K bytes - Viewed (0) -
pkg/volume/testing/testing.go
} return "/dev/vdb-test", nil } func (fv *FakeVolume) GetAttachCallCount() int { fv.RLock() defer fv.RUnlock() return fv.AttachCallCount } func (fv *FakeVolume) WaitForAttach(spec *volume.Spec, devicePath string, pod *v1.Pod, spectimeout time.Duration) (string, error) { fv.Lock() defer fv.Unlock() fv.WaitForAttachCallCount++ if fv.WaitForAttachHook != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 53.3K bytes - Viewed (0)