mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Start thread that will handle SIGCHLD for on_reload callback (#2898)
Close #2897
This commit is contained in:
@@ -35,5 +35,6 @@ class TestCallbackExecutor(unittest.TestCase):
|
||||
ce._invoke_excepthook = Mock()
|
||||
self.assertIsNone(ce.call(callback))
|
||||
|
||||
mock_popen.side_effect = [Mock()]
|
||||
self.assertIsNone(ce.call(['test.sh', 'on_reload', 'replica', 'foo']))
|
||||
ce.join()
|
||||
|
||||
Reference in New Issue
Block a user