@Test
  public void getPeersTest() throws Exception {
    String baseUri = Operations.GET_PEERS + "?" + GetPeersHandler.NAME_QUERY_PARAM + "=" + "localhost" + "&"
        + GetPeersHandler.PORT_QUERY_PARAM + "=" + "62000";
    String[] uris = {baseUri, "/" + baseUri};
    for (String uri : uris) {
      FullHttpRequest httpRequest =
          new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.GET, uri, Unpooled.buffer(0));
      NettyClient.ResponseParts responseParts = nettyClient.sendRequest(httpRequest, null, null).get();
      HttpResponse response = getHttpResponse(responseParts);
      assertEquals("Unexpected response status", HttpResponseStatus.OK, response.status());
    }
  }
Tests that {@link Operations#GET_PEERS} requests succeed irrespective of quota throttling.
@throws Exception
ambry-frontend/src/integration-test/java/com/github/ambry/frontend/FrontendQuotaIntegrationTest.java