Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Test_GetVolumesToAttach_Positive_NoNodes (0.23 sec)

  1. pkg/controller/volume/attachdetach/cache/desired_state_of_world_test.go

    	if len(volumesToAttach) != 0 {
    		t.Fatalf("len(volumesToAttach) Expected: <0> Actual: <%v>", len(volumesToAttach))
    	}
    }
    
    // Calls GetVolumesToAttach()
    // Verifies zero volumes to attach.
    func Test_GetVolumesToAttach_Positive_NoNodes(t *testing.T) {
    	// Arrange
    	volumePluginMgr, _ := volumetesting.GetTestVolumePluginMgr(t)
    	dsw := NewDesiredStateOfWorld(volumePluginMgr)
    
    	// Act
    	volumesToAttach := dsw.GetVolumesToAttach()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 35.9K bytes
    - Viewed (0)
Back to top