alb3rtobr opened a new pull request #5970: URL: https://github.com/apache/geode/pull/5970
This PR introduces a new option called `--membership-bind-address` for the `start locator` and `start server` commands. There is more information about the use case in the [ticket description](https://issues.apache.org/jira/projects/GEODE/issues/GEODE-8877). The main goal of the code impacts in the code is to use the `membership-bind-address` value in `DirectChannel` & in `GMSHealthMonitor` classes. I also refactored some tests: the changes implemented have impacts in two test cases called `StartLocatorCommandWorkingDirectoryTest` & `StartServerCommandWorkingDirectoryTest`. These tests were implemented in such a way that any new parameter introduced in `start locator` and `start server` commands were impacting them. But they were implemented just to verify the working directory resolution, so I extracted that code to a new method called `resolveWorkingDirectory()`, simplyfing the tests and moving them to `StartLocatorCommandTest` & `StartServerCommandTest`. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
