Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Test_getWwids (0.69 sec)

  1. pkg/volume/fc/fc_test.go

    		Lun:        &num,
    	}
    	wwn, lun, _, err := getWwnsLunWwids(fc)
    	// if no wwn and lun, exit
    	if (len(wwn) == 0 && lun != "0") || err != nil {
    		t.Errorf("no fc disk found")
    	}
    }
    
    func Test_getWwids(t *testing.T) {
    	fc := &v1.FCVolumeSource{
    		FSType: "ext4",
    		WWIDs:  []string{"3600508b400105e210000900000490000"},
    	}
    	_, _, wwid, err := getWwnsLunWwids(fc)
    	// if no wwn and lun, exit
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 14.1K bytes
    - Viewed (0)
Back to top