mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-08 20:34:47 +08:00
avoid reusing context object
fix https://github.com/chrislusf/seaweedfs/issues/1182
This commit is contained in:
@@ -121,7 +121,7 @@ func TestCommandEcBalanceVolumeEvenButRackUneven(t *testing.T) {
|
||||
|
||||
racks := collectRacks(allEcNodes)
|
||||
balanceEcVolumes(nil, "c1", allEcNodes, racks, false)
|
||||
balanceEcRacks(context.Background(), nil, racks, false)
|
||||
balanceEcRacks(nil, racks, false)
|
||||
}
|
||||
|
||||
func newEcNode(dc string, rack string, dataNodeId string, freeEcSlot int) *EcNode {
|
||||
|
||||
Reference in New Issue
Block a user