SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
fix TestVolumeServerEvacuate
Konstantin Lebedev39eaf426f828
diff --git a/weed/shell/command_volume_server_evacuate_test.go b/weed/shell/command_volume_server_evacuate_test.goindex 2cdb94a607..4563f38ba0 100644--- a/weed/shell/command_volume_server_evacuate_test.go+++ b/weed/shell/command_volume_server_evacuate_test.go@@ -6,12 +6,11 @@ import ()func TestVolumeServerEvacuate(t *testing.T) {- topologyInfo := parseOutput(topoData)+ c := commandVolumeServerEvacuate{}+ c.topologyInfo = parseOutput(topoData)volumeServer := "192.168.1.4:8080"-- c := commandVolumeServerEvacuate{}- if err := c.evacuateNormalVolumes(nil, topologyInfo, volumeServer, true, false, os.Stdout); err != nil {+ if err := c.evacuateNormalVolumes(nil, volumeServer, true, false, os.Stdout); err != nil {t.Errorf("evacuate: %v", err)}