Cyrille Artho created GEODE-4183:
------------------------------------
Summary: Code review found likely bug regarding options/help in
ServerLauncher
Key: GEODE-4183
URL: https://issues.apache.org/jira/browse/GEODE-4183
Project: Geode
Issue Type: Bug
Components: client/server
Reporter: Cyrille Artho
Both geode.distributed.LocatorLauncher and ServerLauncher have an enumeration
"Command", which contains a list of available command types and their options.
In ServerLauncher, it looks like a typo causes the help/option screens to show
incorrect information:
public enum Command {
START("start", "assign-buckets", "disable-default-server", "rebalance",
SERVER_BIND_ADDRESS,
"server-port", "force", "debug", "help"),
In these lines, "SERVER_BIND_ADDRESS" is nested within "START" rather than a
command of its own.
I'm not sure what the output should be, and no tests currently covers that
behavior. Therefore, a patch passes the tests, but so does the unchanged code.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)