aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_balance_test.go
diff options
context:
space:
mode:
authorBenoƮt Knecht <bknecht@protonmail.ch>2024-01-25 15:19:58 +0100
committerGitHub <noreply@github.com>2024-01-25 06:19:58 -0800
commit1f08010ef04870721cac39f357a7c23bf5167cef (patch)
treeb2f43ca43ca583b0cad9e022f1ca75c9613772e3 /weed/shell/command_volume_balance_test.go
parent0f8e76bbd62c017c131c25aa8bdd580ef56b392b (diff)
downloadseaweedfs-1f08010ef04870721cac39f357a7c23bf5167cef.tar.xz
seaweedfs-1f08010ef04870721cac39f357a7c23bf5167cef.zip
weed/shell: Cleanup volume balance logic (#5241)
Diffstat (limited to 'weed/shell/command_volume_balance_test.go')
-rw-r--r--weed/shell/command_volume_balance_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_volume_balance_test.go b/weed/shell/command_volume_balance_test.go
index 20c5abdf8..ce0aeb5ab 100644
--- a/weed/shell/command_volume_balance_test.go
+++ b/weed/shell/command_volume_balance_test.go
@@ -255,7 +255,7 @@ func TestBalance(t *testing.T) {
volumeReplicas, _ := collectVolumeReplicaLocations(topologyInfo)
diskTypes := collectVolumeDiskTypes(topologyInfo)
- if err := balanceVolumeServers(nil, diskTypes, volumeReplicas, volumeServers, 30*1024*1024*1024, "ALL_COLLECTIONS", false); err != nil {
+ if err := balanceVolumeServers(nil, diskTypes, volumeReplicas, volumeServers, "ALL_COLLECTIONS", false); err != nil {
t.Errorf("balance: %v", err)
}