Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestServer (0.1 sec)

  1. pkg/controller/endpoint/endpoints_controller_test.go

    	}
    }
    
    func TestSyncEndpointsItemsPreserveNoSelector(t *testing.T) {
    	ns := metav1.NamespaceDefault
    	testServer, endpointsHandler := makeTestServer(t, ns)
    	defer testServer.Close()
    
    	tCtx := ktesting.Init(t)
    	endpoints := newController(tCtx, testServer.URL, 0*time.Second)
    	endpoints.endpointsStore.Add(&v1.Endpoints{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:            "foo",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	testServer.Obj = objLayer
    	testServer.rawDiskPaths = disks
    	testServer.Disks = mustGetPoolEndpoints(0, disks...)
    	testServer.AccessKey = credentials.AccessKey
    	testServer.SecretKey = credentials.SecretKey
    
    	httpHandler, err := configureServerHandler(testServer.Disks)
    	if err != nil {
    		t.Fatalf("Failed to configure one of the RPC services <ERROR> %s", err)
    	}
    
    	// Run TestServer.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  3. pkg/controller/replicaset/replica_set_test.go

    		StatusCode:    200,
    		ResponseBody:  "{}",
    		SkipRequestFn: skipListerFunc,
    		T:             t,
    	}
    	testServer := httptest.NewServer(&fakeHandler)
    	defer testServer.Close()
    	client := clientset.NewForConfigOrDie(&restclient.Config{Host: testServer.URL, ContentConfig: restclient.ContentConfig{GroupVersion: &schema.GroupVersion{Group: "", Version: "v1"}}})
    
    	fakePodControl := controller.FakePodControl{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  4. src/net/http/client_test.go

    	// The race detector doesn't know that we're waiting for a timeout
    	// and thinks that the waitgroup inside httptest.Server is added to concurrently
    	// with us closing it. If we timed out immediately, we could close the testserver
    	// before we entered the handler. We're not timing out immediately and there's
    	// no way we would be done before we entered the handler, but the race detector
    	// doesn't know this, so synchronize explicitly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top