mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 19:17:28 +01:00
test: allow admission contention under race instrumentation
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user