Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 182 for StatusOK (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/filters/maxinflight_test.go

    		go func() {
    			if err := expectHTTPGet(server.URL+"/api/v1/namespaces/default/wait?watch=true", http.StatusOK); err != nil {
    				t.Error(err)
    			}
    			responses.Done()
    		}()
    	}
    
    	// Check that sever is not saturated by not-accounted calls
    	if err := expectHTTPGet(server.URL+"/dontwait", http.StatusOK); err != nil {
    		t.Error(err)
    	}
    
    	// These should hang and be accounted, i.e. saturate the server
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/status/server_test.go

    			config:     simpleHTTPConfig,
    			statusCode: http.StatusOK,
    		},
    		{
    			name:       "http-livez",
    			probePath:  "app-health/hello-world/livez",
    			config:     simpleHTTPConfig,
    			statusCode: http.StatusOK,
    		},
    		{
    			name:       "http-livez-localhost",
    			probePath:  "app-health/hello-world/livez",
    			config:     simpleHTTPConfig,
    			statusCode: http.StatusOK,
    			podIP:      "localhost",
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go

    		if err := assertResponseStatusCode(resultGot, http.StatusOK); err != nil {
    			t.Errorf("%s", err.Error())
    		}
    		resultGot = doer.Do(newClient(true), shouldUseNewConnection(t), "/echo?message=request-on-a-new-tcp-connection-should-succeed", time.Second)
    		if err := assertResponseStatusCode(resultGot, http.StatusOK); err != nil {
    			t.Errorf("%s", err.Error())
    		}
    	})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy_handler_test.go

    			requestPath:    "/foo/bar/baz",
    			expectedStatus: http.StatusOK,
    		},
    		{
    			desc:              "allow if already proxied once",
    			requestPath:       "/api/bar/baz",
    			expectedStatus:    http.StatusOK,
    			peerproxiedHeader: "true",
    		},
    		{
    			desc:                 "allow if unsynced informers",
    			requestPath:          "/api/bar/baz",
    			expectedStatus:       http.StatusOK,
    			informerFinishedSync: false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler_test.go

    	// get sent again
    	second, _, _ := fetchPath(manager, "application/json", discoveryPath, "wrongetag")
    
    	assert.Equal(t, http.StatusOK, initial.StatusCode, "response should be 200 OK")
    	assert.Equal(t, http.StatusOK, second.StatusCode, "response should be 200 OK")
    	assert.Equal(t, initial.Header.Get("ETag"), second.Header.Get("ETag"), "ETag of both requests should be equal")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 00:29:39 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  6. pkg/webhooks/validation/server/server_test.go

    			contentType:     "application/json",
    			wantAllowed:     true,
    			wantStatusCode:  http.StatusOK,
    			allowedResponse: true,
    		},
    		{
    			name:            "valid(v1 version)",
    			body:            validReviewV1,
    			contentType:     "application/json",
    			wantAllowed:     true,
    			wantStatusCode:  http.StatusOK,
    			allowedResponse: true,
    		},
    		{
    			name:           "invalid",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/healthServer.go

    	w.WriteHeader(http.StatusOK)
    }
    
    func readyz(installReady, watchReady *atomic.Value) http.HandlerFunc {
    	return func(w http.ResponseWriter, _ *http.Request) {
    		if !installReady.Load().(bool) || !watchReady.Load().(bool) {
    			http.Error(w, http.StatusText(http.StatusServiceUnavailable), http.StatusServiceUnavailable)
    			return
    		}
    		w.WriteHeader(http.StatusOK)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. tests/integration/security/sds_ingress/ingress_test.go

    								ingressutil.ExpectedResponse{StatusCode: http.StatusOK})
    						})
    						t.NewSubTest("request with client certificates").Run(func(t framework.TestContext) {
    							// Send a TLS request with client certificates.
    							ingressutil.SendRequestOrFail(t, ing, host, credName, ingressutil.Mtls, tlsContext,
    								ingressutil.ExpectedResponse{StatusCode: http.StatusOK})
    						})
    					})
    			}
    		})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/filters/watch_termination_test.go

    		},
    		{
    			name:               "request is not a WATCH, not added into wait group",
    			requestInfo:        &apirequest.RequestInfo{Verb: "get"},
    			handlerInvoked:     1,
    			statusCodeExpected: http.StatusOK,
    		},
    		{
    			name:                    "request is a WATCH, wait group is in waiting mode",
    			requestInfo:             &apirequest.RequestInfo{Verb: "watch"},
    			wg:                      &fakeRequestWaitGroup{waiting: true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:49 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    		// TODO: JTL: "GET root item":       {"GET", "/" + prefix + "/" + testGroupVersion.Group + "/" + testGroupVersion.Version + "/simpleroots/bar", http.StatusOK},
    		"GET namespaced": {"GET", "/" + prefix + "/" + testGroupVersion.Group + "/" + testGroupVersion.Version + "/namespaces/ns/simples", http.StatusOK},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
Back to top