Browse Source

test: add diskType field to ecBalancer in TestPickEcNodeToBalanceShardsInto

Address nitpick comment: ensure test ecBalancer struct has diskType
field set for consistency with other tests.
ec-disk-type-support
chrislusf 16 hours ago
parent
commit
c6b19713a0
  1. 3
      weed/shell/command_ec_common_test.go

3
weed/shell/command_ec_common_test.go

@ -229,7 +229,8 @@ func TestPickEcNodeToBalanceShardsInto(t *testing.T) {
allEcNodes, _ := collectEcVolumeServersByDc(tc.topology, "", types.HardDriveType)
ecb := &ecBalancer{
ecNodes: allEcNodes,
ecNodes: allEcNodes,
diskType: types.HardDriveType,
}
// Resolve target node by name

Loading…
Cancel
Save