- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestTwoSimultaneousLocksForDifferentResources (0.36 sec)
-
internal/dsync/dsync_test.go
} t.Logf("expected at least %v time have passed, %v passed", expect, elapsed) } // Test two locks for different resources, both succeed func TestTwoSimultaneousLocksForDifferentResources(t *testing.T) { dm1 := NewDRWMutex(ds, "aap") dm2 := NewDRWMutex(ds, "noot") dm1.Lock(id, source) dm2.Lock(id, source) dm1.Unlock(context.Background()) dm2.Unlock(context.Background())
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Jun 19 14:35:19 UTC 2024 - 11.1K bytes - Viewed (0)