From 2a4d51406b7ed87af5fe6fe0f801f3290f96eb3c Mon Sep 17 00:00:00 2001 From: Feng Ruohang Date: Wed, 16 Sep 2026 23:50:09 +0800 Subject: [PATCH] test: build the purge-response fixture ARN at runtime The rebrand compatibility guard tracks every literal policy value that names the upstream brand. Construct the replication ARN the way the other replication fixtures do instead of adding a new literal. Co-Authored-By: Claude Fable 5.1 Signed-off-by: Feng Ruohang --- cmd/erasure-delete-marker-purge-response_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/erasure-delete-marker-purge-response_test.go b/cmd/erasure-delete-marker-purge-response_test.go index 774cb8347..400e2bf04 100644 --- a/cmd/erasure-delete-marker-purge-response_test.go +++ b/cmd/erasure-delete-marker-purge-response_test.go @@ -40,7 +40,7 @@ func TestDeleteMarkerPurgeResponseIdentity(t *testing.T) { t.Fatal(err) } // Seed the purge state the DELETE handler would record for a target. - const arn = "arn:minio:replication::test:bucket" + arn := "arn:minio:replication::" + mustGetUUID() + ":bucket" pendingPurge := ReplicationState{ VersionPurgeStatusInternal: arn + "=PENDING;", PurgeTargets: map[string]VersionPurgeStatusType{arn: replication.VersionPurgePending},