Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Test_localLocker_expireOldLocksExpire (0.15 sec)

  1. cmd/local-locker_test.go

    		t.Fatalf("lockmap len, got %d, want %d + %d", len(l.lockMap), 0, 0)
    	}
    	if len(l.lockUID) != 0 {
    		t.Fatalf("lockUID len, got %d, want %d + %d", len(l.lockUID), 0, 0)
    	}
    }
    
    func Test_localLocker_expireOldLocksExpire(t *testing.T) {
    	rng := rand.New(rand.NewSource(0))
    	quorum := 0
    	// Numbers of unique locks
    	for _, locks := range []int{100, 1000, 1e6} {
    		if testing.Short() && locks > 100 {
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top