From 30a83df32a03ab44a64670dcf3aca5d4de1458ef Mon Sep 17 00:00:00 2001 From: pingqiu Date: Tue, 1 Dec 2026 11:02:05 -0800 Subject: [PATCH] test: allow admission contention under race instrumentation --- .../frontend/chunkstore/snapshot_operation_retirement_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/seaweed-block/core/frontend/chunkstore/snapshot_operation_retirement_test.go b/seaweed-block/core/frontend/chunkstore/snapshot_operation_retirement_test.go index eadfaae2a2..5743ee027d 100644 --- a/seaweed-block/core/frontend/chunkstore/snapshot_operation_retirement_test.go +++ b/seaweed-block/core/frontend/chunkstore/snapshot_operation_retirement_test.go @@ -63,7 +63,9 @@ func TestSnapshotOperationRetirementFullPendingRefusesWithoutLosingReceipt(t *te // Separate store instances represent independent executors sharing the same // filer. A process-local queue or mutex cannot be the durable admission bound. func TestSnapshotOperationRetirementConcurrentAdmissionsShareLastSlot(t *testing.T) { - ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) + // This bounds a hung worker; it is not a latency assertion for the 4096 + // index publications or for race-instrumented admission contention. + ctx, cancel := context.WithTimeout(context.Background(), time.Minute) defer cancel() _, _, store, _ := cleanFixture(t) fingerprint := strings.Repeat("a", 64)