Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for VerifySetUpCallCount (0.15 sec)

  1. pkg/kubelet/kubelet_volumes_test.go

    		1 /* expectedAttachCallCount */, testKubelet.volumePlugin))
    	assert.NoError(t, volumetest.VerifyMountDeviceCallCount(
    		1 /* expectedMountDeviceCallCount */, testKubelet.volumePlugin))
    	assert.NoError(t, volumetest.VerifySetUpCallCount(
    		1 /* expectedSetUpCallCount */, testKubelet.volumePlugin))
    }
    
    func TestVolumeUnmountAndDetachControllerDisabled(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping test in short mode.")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/reconciler/reconstruct_test.go

    			if tc.expectMount {
    				// The volume should be fully mounted
    				waitForMount(t, fakePlugin, volumeName, rcInstance.actualStateOfWorld)
    				// SetUp was called and succeeded
    				if err := volumetesting.VerifySetUpCallCount(1, fakePlugin); err != nil {
    					t.Errorf("Expected SetUp() to be called, got %s", err)
    				}
    			} else {
    				// The test does not expect any change in ASW, yet it needs to wait for volume operations to finish
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top