Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testTimeouts (0.42 sec)

  1. src/context/x_test.go

    			}
    		}
    	}
    	if !testTimeout {
    		select {
    		case <-ctx.Done():
    			errorf("ctx should not be canceled yet")
    		default:
    		}
    	}
    	if s, prefix := fmt.Sprint(ctx), "context.Background."; !strings.HasPrefix(s, prefix) {
    		t.Errorf("ctx.String() = %q want prefix %q", s, prefix)
    	}
    	t.Log(ctx)
    	checkValues("before cancel")
    	if testTimeout {
    		d := quiescent(t)
    		timer := time.NewTimer(d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. guava-gwt/pom.xml

                  <sourceLevel>1.8</sourceLevel>
                  <!-- Keep these timeouts very large because, if we hit the timeout, the tests silently pass :( -->
                  <testTimeOut>86400 <!-- seconds --></testTimeOut>
                  <testMethodTimeout>1440 <!-- minutes --></testMethodTimeout>
                  <!-- Presumably we want watchFileChanges=false here, since we want it for compile: -->
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 15:00:55 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/test/test.go

    		// better to hard-code a scale factor than to hard-code a constant delay.
    		if wd := testTimeout / 10; wd < 5*time.Second {
    			testWaitDelay = 5 * time.Second
    		} else {
    			testWaitDelay = wd
    		}
    
    		// We expect the test binary to terminate itself (and dump stacks) after
    		// exactly testTimeout. We give it up to one WaitDelay or one minute,
    		// whichever is longer, to finish dumping stacks before we send it an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/filters/timeout_test.go

    		select {
    		case resp := <-responseCh:
    			_, err := w.Write([]byte(resp))
    			writeErrCh <- err
    		case panicReason := <-panicCh:
    			panic(panicReason)
    		}
    	})
    }
    
    func TestTimeout(t *testing.T) {
    	origReallyCrash := runtime.ReallyCrash
    	runtime.ReallyCrash = false
    	defer func() {
    		runtime.ReallyCrash = origReallyCrash
    	}()
    
    	sendResponse := make(chan string, 1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. tests/integration/pilot/analyze_test.go

    						g.Expect(line).To(ContainSubstring(msg.ConflictingGateways.Code()))
    						foundCount++
    					}
    				}
    			}
    			g.Expect(foundCount).To(Equal(6))
    		})
    }
    
    func TestTimeout(t *testing.T) {
    	t.Skip("https://github.com/istio/istio/issues/25893")
    	// nolint: staticcheck
    	framework.
    		NewTest(t).
    		RequiresSingleCluster().
    		Run(func(t framework.TestContext) {
    			g := NewWithT(t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top