- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestDualWriteLockAcquired (0.17 sec)
-
internal/dsync/drwmutex_test.go
drwm2.Unlock(context.Background()) } // fmt.Println("2nd write lock failed due to timeout") return } func TestDualWriteLockAcquired(t *testing.T) { locked := testDualWriteLock(t, 10*testDrwMutexAcquireTimeout) expected := true if locked != expected { t.Errorf("TestDualWriteLockAcquired(): \nexpected %#v\ngot %#v", expected, locked) } } func TestDualWriteLockTimedOut(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 24 03:49:07 UTC 2022 - 9.7K bytes - Viewed (0) -
internal/lsync/lrwmutex_test.go
lrwm.Unlock() } else { t.Log("2nd write lock failed due to timeout") } return } func TestDualWriteLockAcquired(t *testing.T) { locked := testDualWriteLock(t, 3*time.Second) expected := true if locked != expected { t.Errorf("TestDualWriteLockAcquired(): \nexpected %#v\ngot %#v", expected, locked) } } func TestDualWriteLockTimedOut(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 05 04:57:35 UTC 2023 - 7.9K bytes - Viewed (0)