Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDynamicTimeoutSingleIncrease (0.14 sec)

  1. cmd/dynamic-timeouts_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"math/rand"
    	"runtime"
    	"sync"
    	"testing"
    	"time"
    )
    
    func TestDynamicTimeoutSingleIncrease(t *testing.T) {
    	timeout := newDynamicTimeout(time.Minute, time.Second)
    
    	initial := timeout.Timeout()
    
    	for range dynamicTimeoutLogSize {
    		timeout.LogFailure()
    	}
    
    	adjusted := timeout.Timeout()
    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