Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TestDynamicTimeoutAdjustNormalized (0.14 seconds)

  1. cmd/dynamic-timeouts_test.go

    	}
    
    	adjusted := timeout.Timeout()
    	if initial <= adjusted {
    		t.Errorf("Failure to decrease timeout, expected %v to be less than %v", adjusted, initial)
    	}
    }
    
    func TestDynamicTimeoutAdjustNormalized(t *testing.T) {
    	timeout := newDynamicTimeout(time.Minute, time.Second)
    
    	rand.Seed(0)
    
    	initial := timeout.Timeout()
    
    	for range 10 {
    		testDynamicTimeoutAdjust(t, timeout, func() float64 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top