- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for startLockServers (0.08 seconds)
-
internal/dsync/dsync_test.go
testDrwMutexForceUnlockCallTimeout = 250 * time.Millisecond testDrwMutexRefreshInterval = 100 * time.Millisecond ) // TestMain initializes the testing framework func TestMain(m *testing.M) { startLockServers() // Initialize locker clients for dsync. var clnts []NetLocker for i := range nodes { clnts = append(clnts, newClient(nodes[i].URL)) } ds = &Dsync{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.8K bytes - Click Count (0) -
internal/dsync/dsync-server_test.go
} if err != nil { lh.writeErrorResponse(w, err) return } } func stopLockServers() { for i := range numberOfNodes { nodes[i].Close() } } func startLockServers() { for i := range numberOfNodes { lsrv := &lockServer{ mutex: sync.Mutex{}, lockMap: make(map[string]int64), } lockServer := lockServerHandler{ lsrv: lsrv, }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.3K bytes - Click Count (0)