From: Yuval Lifshitz Date: Fri, 3 May 2024 12:04:45 +0000 (+0000) Subject: test/rgw/notification: prevent failed http tests from hanging X-Git-Tag: v20.0.0~2008^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F57256%2Fhead;p=ceph.git test/rgw/notification: prevent failed http tests from hanging this is a regressions from: 673adcbdbd01e64c8b76c3176e062571fb8710ac Signed-off-by: Yuval Lifshitz --- diff --git a/src/test/rgw/bucket_notification/test_bn.py b/src/test/rgw/bucket_notification/test_bn.py index fda0cf29173d..c3281ef0c3ec 100644 --- a/src/test/rgw/bucket_notification/test_bn.py +++ b/src/test/rgw/bucket_notification/test_bn.py @@ -171,6 +171,7 @@ class HTTPServerWithEvents(ThreadingHTTPServer): ThreadingHTTPServer.__init__(self, addr, HTTPPostHandler) log.info('http server created on %s', str(self.addr)) self.proc = threading.Thread(target=self.run) + self.proc.daemon = True self.proc.start() retries = 0 while self.proc.is_alive() == False and retries < 5: