eiri opened a new pull request #590: Wait for listener's exit during restart test URL: https://github.com/apache/couchdb/pull/590 ## Overview To test a config listener's restart we are deleting event handler in config_event and then immediately checking event manager. This creates race when we can be a slightly early and catch old handler yet to be removed or slightly late and get new handler that already been installed. This patch trying to address this by doing the check immediately after old handler exits and then incrementally waiting for new handler to be installed. ## Testing recommendations Run for an isolated test: ```bash make eunit apps=couch_log suites=couch_log_config_listener_test tests=couch_log_config_test_ ``` ## GitHub issue number Fixes #581 ## Checklist - [x] Code is written and works correctly; - [x] Changes are covered by tests; - [ ] Documentation reflects the changes; ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
