Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testDynamicTimeoutAdjust (0.31 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 range dynamicTimeoutLogSize {
    		rnd := f()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top