- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestDynamicTimeoutConcurrent (0.31 sec)
-
cmd/dynamic-timeouts_test.go
// Check whether eventual timeout is between initial value and success timeout if initial <= adjusted || adjusted <= successTimeout { t.Errorf("Failure to decrease timeout appropriately") } } func TestDynamicTimeoutConcurrent(t *testing.T) { // Race test. timeout := newDynamicTimeout(time.Second, time.Millisecond) var wg sync.WaitGroup for i := 0; i < runtime.GOMAXPROCS(0); i++ { wg.Add(1)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Oct 14 10:08:40 GMT 2022 - 5.4K bytes - Viewed (0)