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 1 day ago
parent
commit
c6b19713a0
  1. 1
      weed/shell/command_ec_common_test.go

1
weed/shell/command_ec_common_test.go

@ -230,6 +230,7 @@ func TestPickEcNodeToBalanceShardsInto(t *testing.T) {
ecb := &ecBalancer{ ecb := &ecBalancer{
ecNodes: allEcNodes, ecNodes: allEcNodes,
diskType: types.HardDriveType,
} }
// Resolve target node by name // Resolve target node by name

Loading…
Cancel
Save