Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for wantOut (0.14 sec)

  1. src/net/http/transport_test.go

    	res, err := cst.c.Get(cst.ts.URL)
    	if res != nil {
    		defer res.Body.Close()
    	}
    	got := fmt.Sprint(err)
    	wantSub := "too many 1xx informational responses"
    	if !strings.Contains(got, wantSub) {
    		t.Errorf("Get error = %v; want substring %q", err, wantSub)
    	}
    }
    
    // Issue 26161: the HTTP client must treat 101 responses
    // as the final response.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  2. pkg/controller/daemon/daemon_controller_test.go

    			// Move just before the backoff end time
    			fakeClock.Sleep(delay - 1*time.Nanosecond)
    			if !manager.failedPodsBackoff.IsInBackOffSinceUpdate(backoffKey, fakeClock.Now()) {
    				t.Errorf("Backoff delay didn't last the whole waitout period.")
    			}
    
    			// Move to the backoff end time
    			fakeClock.Sleep(1 * time.Nanosecond)
    			if manager.failedPodsBackoff.IsInBackOffSinceUpdate(backoffKey, fakeClock.Now()) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  3. src/net/http/serve_test.go

    func TestRedirectContentTypeAndBody(t *testing.T) {
    	type ctHeader struct {
    		Values []string
    	}
    
    	var tests = []struct {
    		method   string
    		ct       *ctHeader // Optional Content-Type header to set.
    		wantCT   string
    		wantBody string
    	}{
    		{MethodGet, nil, "text/html; charset=utf-8", "<a href=\"/foo\">Found</a>.\n\n"},
    		{MethodHead, nil, "text/html; charset=utf-8", ""},
    		{MethodPost, nil, "", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top