joshua2519 opened a new pull request, #22679:
URL: https://github.com/apache/kafka/pull/22679
Two tests from #22197 combined `--from-file` with
`--topic`/`--all-topics`,which `ShareGroupCommandOptions.checkArgs` forbids —
`allResetOffsetsScopeOpts` makes `{--topic, --all-topics, --from-file}`
mutually exclusive, enforced via `checkInvalidArgs`. The tests only passed
because a leaked no-op `Exit` procedure swallowed the resulting
`printUsageAndExit`.
- Drop `--topic`/`--all-topics` from both tests' import args so
`--from-file` is the sole scope.
- Adjust `describeTopics` count 6 → 5 in `testResetOffsetsExportImportPlan`
(no `--topic` means partitions come from `listShareGroupOffsets`).
Test-only; no production changes.
--
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]