Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDynamicTimeoutSingleIncrease (0.18 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 i := 0; i < dynamicTimeoutLogSize; i++ {
    		timeout.LogFailure()
    	}
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 5.4K bytes
    - Viewed (0)
Back to top