mirror of
https://github.com/pgsty/minio.git
synced 2026-10-31 21:02:06 +03:00
test: reuse replication compatibility fixtures
Signed-off-by: Feng Ruohang <rh@vonng.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user