Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testDynamicTimeoutAdjust (0.23 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()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 5.4K bytes
    - Viewed (0)
Back to top