Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDynamicTimeoutManyDecreases (0.11 sec)

  1. cmd/dynamic-timeouts_test.go

    	if initial <= adjusted || adjusted <= adjustedAgain {
    		t.Errorf("Failure to decrease timeout multiple times, initial: %v, adjusted: %v, again: %v", initial, adjusted, adjustedAgain)
    	}
    }
    
    func TestDynamicTimeoutManyDecreases(t *testing.T) {
    	timeout := newDynamicTimeout(time.Minute, time.Second)
    
    	initial := timeout.Timeout()
    
    	const successTimeout = 20 * time.Second
    	for l := 0; l < 100; l++ {
    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