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 test
Chris Lu9cc73f4a9a95
diff --git a/weed/topology/topology_test.go b/weed/topology/topology_test.goindex 07dc9c67b8..a8bdec9020 100644--- a/weed/topology/topology_test.go+++ b/weed/topology/topology_test.go@@ -47,8 +47,8 @@ func TestHandlingVolumeServerHeartbeat(t *testing.T) {topo.SyncDataNodeRegistration(volumeMessages, dn)- assert(t, "activeVolumeCount1", topo.activeVolumeCount, volumeCount)- assert(t, "volumeCount", topo.volumeCount, volumeCount)+ assert(t, "activeVolumeCount1", int(topo.activeVolumeCount), volumeCount)+ assert(t, "volumeCount", int(topo.volumeCount), volumeCount)}{@@ -71,13 +71,13 @@ func TestHandlingVolumeServerHeartbeat(t *testing.T) {}topo.SyncDataNodeRegistration(volumeMessages, dn)- assert(t, "activeVolumeCount1", topo.activeVolumeCount, volumeCount)- assert(t, "volumeCount", topo.volumeCount, volumeCount)+ assert(t, "activeVolumeCount1", int(topo.activeVolumeCount), volumeCount)+ assert(t, "volumeCount", int(topo.volumeCount), volumeCount)}topo.UnRegisterDataNode(dn)- assert(t, "activeVolumeCount2", topo.activeVolumeCount, 0)+ assert(t, "activeVolumeCount2", int(topo.activeVolumeCount), 0)}