From 3d473dfeec7047b93b7d033278440d0a7ab8c437 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 --- 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 fda0cf29173d2..c3281ef0c3ec1 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: -- 2.39.5