Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for VerifyMountDeviceCallCount (0.74 sec)

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

    		1 /* expectedAttachCallCount */, fakePlugin))
    	assert.NoError(t, volumetesting.VerifyWaitForAttachCallCount(
    		1 /* expectedWaitForAttachCallCount */, fakePlugin))
    	assert.NoError(t, volumetesting.VerifyMountDeviceCallCount(
    		1 /* expectedMountDeviceCallCount */, fakePlugin))
    	assert.NoError(t, volumetesting.VerifySetUpCallCount(
    		1 /* expectedSetUpCallCount */, fakePlugin))
    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/testing/testing.go

    				actualCallCount)
    		}
    	}
    
    	return nil
    }
    
    // VerifyMountDeviceCallCount ensures that at least one of the Mounters for
    // this plugin has the expectedMountDeviceCallCount number of calls. Otherwise
    // it returns an error.
    func VerifyMountDeviceCallCount(
    	expectedMountDeviceCallCount int,
    	fakeVolumePlugin *FakeVolumePlugin) error {
    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