WXPNG opened a new pull request, #12963: URL: https://github.com/apache/seatunnel/pull/12963
## Purpose of this pull request Fix the inconsistency where the Zeta engine rejects an explicitly specified `master_and_worker` cluster role, even though it is the default and a documented supported value for the `-r/--role` option. Closes: https://github.com/apache/seatunnel/issues/12939 ## Brief change log - Extract the cluster role parsing into a testable `applyClusterRole` method and add the missing `MASTER_AND_WORKER` branch in `ServerExecuteCommand`. - Add unit tests covering `master`, `worker`, `master_and_worker`, case-insensitivity, and an invalid value. ## Verify this pull request - `./mvnw -pl seatunnel-core/seatunnel-starter -am install -DskipTests` - `./mvnw -pl seatunnel-core/seatunnel-starter test -Dtest=ServerExecuteCommandTest` -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
