|
|
@ -187,7 +187,7 @@ func TestBalance(t *testing.T) { |
|
|
|
func TestVolumeSelection(t *testing.T) { |
|
|
|
topologyInfo := parseOutput(topoData) |
|
|
|
|
|
|
|
vids, err := collectVolumeIdsForTierChange(nil, topologyInfo, 1000, types.ToDiskType("hdd"), "", 20.0, 0); |
|
|
|
vids, err := collectVolumeIdsForTierChange(nil, topologyInfo, 1000, types.ToDiskType("hdd"), "", 20.0, 0) |
|
|
|
if err != nil { |
|
|
|
t.Errorf("collectVolumeIdsForTierChange: %v", err) |
|
|
|
} |
|
|
|