From 814cc3a26f03ab0f65039ed1d3a88912fcccb3f5 Mon Sep 17 00:00:00 2001 From: Yuval Lifshitz Date: Fri, 3 May 2024 12:04:45 +0000 Subject: [PATCH] test/rgw/notification: prevent failed http tests from hanging this is a regressions from: 673adcbdbd01e64c8b76c3176e062571fb8710ac Signed-off-by: Yuval Lifshitz (cherry picked from commit 3d473dfeec7047b93b7d033278440d0a7ab8c437) --- src/test/rgw/bucket_notification/test_bn.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/rgw/bucket_notification/test_bn.py b/src/test/rgw/bucket_notification/test_bn.py index c6831bffd86..4a7bded0542 100644 --- a/src/test/rgw/bucket_notification/test_bn.py +++ b/src/test/rgw/bucket_notification/test_bn.py @@ -205,6 +205,7 @@ class HTTPServerWithEvents(ThreadingHTTPServer): ThreadingHTTPServer.__init__(self, addr, HTTPPostHandler) log.info('http server created on %s', 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: -- 2.39.5