style: format replication regression fixture

Signed-off-by: Feng Ruohang <rh@vonng.com>
This commit is contained in:
Feng Ruohang
2026-09-09 14:35:31 +08:00
parent 702f113f51
commit a1141a43f2
+7 -2
View File
@@ -176,8 +176,13 @@ func testReplicateDeleteMarkerPurge(obj ObjectLayer, instanceType, bucket string
meta.replicationConfig = &cfg
globalBucketMetadataSys.Set(bucket, meta)
worker := make(chan ReplicationWorkerOperation, 1)
p := &ReplicationPool{ctx: ctx, objLayer: obj, workers: []chan ReplicationWorkerOperation{worker},
stats: globalReplicationStats.Load(), mrfSaveCh: make(chan MRFReplicateEntry, 1)}
p := &ReplicationPool{
ctx: ctx,
objLayer: obj,
workers: []chan ReplicationWorkerOperation{worker},
stats: globalReplicationStats.Load(),
mrfSaveCh: make(chan MRFReplicateEntry, 1),
}
oldPool := globalReplicationPool
globalReplicationPool = once.NewSingleton[ReplicationPool]()
globalReplicationPool.Set(p)