test: reuse replication compatibility fixtures

Signed-off-by: Feng Ruohang <rh@vonng.com>
This commit is contained in:
Feng Ruohang
2026-09-09 14:44:02 +08:00
parent a1141a43f2
commit 66fe61ff65
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ func TestReplicationMRFDropsVisible(t *testing.T) {
seen = make(map[string]bool)
for _, family := range families {
for name, value := range want {
if family.GetName() != "minio_replication_"+name {
if family.GetName() != replicationCollectorPath.metricPrefix()+"_"+name {
continue
}
seen[name] = true