test: allow admission contention under race instrumentation

This commit is contained in:
pingqiu committed 2026-12-01 18:48:51 -08:00
1 parent e70a7f9a6f
commit 30a83df32a
1 file changed
+3 -1
@@ -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)