- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestThreeSimultaneousLocksForSameResource (0.12 sec)
-
internal/dsync/dsync_test.go
time.Sleep(testDrwMutexRefreshCallTimeout * 2) dm2nd.Unlock(t.Context()) } // Test three locks for same resource, one succeeds, one fails (after timeout) func TestThreeSimultaneousLocksForSameResource(t *testing.T) { dm1st := NewDRWMutex(ds, "aap") dm2nd := NewDRWMutex(ds, "aap") dm3rd := NewDRWMutex(ds, "aap") dm1st.Lock(id, source) started := time.Now() var expect time.Duration
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 10.8K bytes - Viewed (0)