Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testDynamicTimeoutAdjust (0.42 sec)

  1. cmd/dynamic-timeouts_test.go

    	// Check whether eventual timeout has hit the minimum value
    	if initial <= adjusted || adjusted != minimum {
    		t.Errorf("Failure to decrease timeout appropriately")
    	}
    }
    
    func testDynamicTimeoutAdjust(t *testing.T, timeout *dynamicTimeout, f func() float64) {
    	const successTimeout = 20 * time.Second
    
    	for i := 0; i < dynamicTimeoutLogSize; i++ {
    
    		rnd := f()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 5.4K bytes
    - Viewed (0)
Back to top