You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "Technoboy- (via GitHub)" <gi...@apache.org> on 2023/09/21 05:37:23 UTC

[GitHub] [pulsar] Technoboy- commented on a diff in pull request #21216: [improve] [proxy] Not close the socket if lookup failed caused by too many requests

Technoboy- commented on code in PR #21216:
URL: https://github.com/apache/pulsar/pull/21216#discussion_r1332486313


##########
pulsar-proxy/src/test/java/org/apache/pulsar/proxy/server/ProxyLookupThrottlingTest.java:
##########
@@ -112,4 +120,31 @@ public void testLookup() throws Exception {
 
         Assert.assertEquals(LookupProxyHandler.REJECTED_PARTITIONS_METADATA_REQUESTS.get(), 5.0d);
     }
+
+    @Test
+    public void testLookupThrottling() throws Exception {
+        PulsarClientImpl client = (PulsarClientImpl) PulsarClient.builder()

Review Comment:
   close the client



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org