Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDynamicTimeoutDualDecrease (0.23 sec)

  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 TestDynamicTimeoutDualDecrease(t *testing.T) {
    	timeout := newDynamicTimeout(time.Minute, time.Second)
    
    	initial := timeout.Timeout()
    
    	for i := 0; i < dynamicTimeoutLogSize; i++ {
    		timeout.LogSuccess(20 * time.Second)
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 5.4K bytes
    - Viewed (0)
Back to top