@Test
  public void requestHandleWithHealthCheckRequestTest() throws IOException {
    // test with keep alive
    testHealthCheckRequest(HttpMethod.GET, true, true);
    testHealthCheckRequest(HttpMethod.GET, false, true);

    // test without keep alive
    testHealthCheckRequest(HttpMethod.GET, true, false);
    testHealthCheckRequest(HttpMethod.GET, false, false);
  }
Tests for the common case request handling flow for health check requests.
@throws java.io.IOException
ambry-rest/src/test/java/com/github/ambry/rest/HealthCheckHandlerTest.java