From: Yuval Lifshitz Date: Wed, 22 May 2024 18:48:23 +0000 (+0000) Subject: test/rgw/notifications: allow http server to buffer more requests X-Git-Tag: v19.1.1~71^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5e9406e2148a927e83cdf681858ecc1c503ce5d7;p=ceph.git test/rgw/notifications: allow http server to buffer more requests python doc: https://docs.python.org/3/library/socketserver.html#socketserver.ThreadingMixIn say tha the default is 5 Fixes: https://tracker.ceph.com/issues/66033 Signed-off-by: Yuval Lifshitz (cherry picked from commit 454f6f764f00e3da91af8fd616c4ad331a76d680) --- diff --git a/src/test/rgw/bucket_notification/test_bn.py b/src/test/rgw/bucket_notification/test_bn.py index 28d966b1e14e..e76050e339d3 100644 --- a/src/test/rgw/bucket_notification/test_bn.py +++ b/src/test/rgw/bucket_notification/test_bn.py @@ -201,6 +201,7 @@ class HTTPServerWithEvents(ThreadingHTTPServer): self.delay = delay self.cloudevents = cloudevents self.addr = addr + self.request_queue_size = 100 self.lock = threading.Lock() ThreadingHTTPServer.__init__(self, addr, HTTPPostHandler) log.info('http server created on %s', self.addr)