]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/rgw/notification: prevent failed http tests from hanging 57470/head
authorYuval Lifshitz <ylifshit@ibm.com>
Fri, 3 May 2024 12:04:45 +0000 (12:04 +0000)
committerYuval Lifshitz <ylifshit@ibm.com>
Mon, 20 May 2024 16:00:40 +0000 (16:00 +0000)
this is a regressions from: 673adcbdbd01e64c8b76c3176e062571fb8710ac

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
(cherry picked from commit 3d473dfeec7047b93b7d033278440d0a7ab8c437)

src/test/rgw/bucket_notification/test_bn.py

index c6831bffd868403d33981ab35b17ea3666612422..4a7bded054245fd94fd0fc16ceeaf5cd6b9c5557 100644 (file)
@@ -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: