test: add diskType field to ecBalancer in TestPickEcNodeToBalanceShardsInto

Address nitpick comment: ensure test ecBalancer struct has diskType
field set for consistency with other tests.
This commit is contained in:
chrislusf
2025-12-10 14:24:55 -08:00
parent f2634e6a71
commit a770a4983b
+2 -1
View File
@@ -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