Skip to content

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.

fix tests

chrislu98bc93cf31c6
diff --git a/weed/shell/command_volume_server_evacuate_test.go b/weed/shell/command_volume_server_evacuate_test.go
index 4563f38ba0..3983c62e1f 100644
--- a/weed/shell/command_volume_server_evacuate_test.go
+++ b/weed/shell/command_volume_server_evacuate_test.go
@@ -6,7 +6,12 @@ import (
)
func TestVolumeServerEvacuate(t *testing.T) {
- c := commandVolumeServerEvacuate{}
+ targetServer := ""
+ volumeRack := "rack1"
+ c := commandVolumeServerEvacuate{
+ targetServer: &targetServer,
+ volumeRack: &volumeRack,
+ }
c.topologyInfo = parseOutput(topoData)
volumeServer := "192.168.1.4:8080"