Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testHTTPHandler (0.18 sec)

  1. pkg/proxy/healthcheck/healthcheck_test.go

    	hs.QueuedUpdate(v1.IPv6Protocol)
    	fakeClock.Step(25 * time.Second)
    	testHTTPHandler(hsTest, http.StatusServiceUnavailable, t)
    
    	hs.Updated(v1.IPv4Protocol)
    	testHTTPHandler(hsTest, http.StatusServiceUnavailable, t)
    
    	hs.Updated(v1.IPv6Protocol)
    	testHTTPHandler(hsTest, http.StatusOK, t)
    }
    
    func testHTTPHandler(hsTest *serverTest, status int, t *testing.T) {
    	handler := hsTest.server.(*fakeHTTPServer).handler
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top