diff --git a/cmd/replication-delete-marker_test.go b/cmd/replication-delete-marker_test.go index 778d1823b..dc31bcc8d 100644 --- a/cmd/replication-delete-marker_test.go +++ b/cmd/replication-delete-marker_test.go @@ -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)