Skip to content

[fix] Fix issue where options for sanity test command are ignored - #4691

Merged
hangc0276 merged 1 commit into
apache:masterfrom
massakam:fix-cli-opts
May 26, 2026
Merged

[fix] Fix issue where options for sanity test command are ignored#4691
hangc0276 merged 1 commit into
apache:masterfrom
massakam:fix-cli-opts

Conversation

@massakam

@massakam massakam commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

Motivation

The bookiesanity subcommand of Bookie Shell enables users to specify the number of entries and the timeout in seconds as command line options.

$ ./bin/bookkeeper shell bookiesanity -e 20 -t 5

However, in practice these options seem to be ignored and the default values (entries: 10, timeout: 1) always used.

Changes

After creating an instance of the SanityTestCommand.SanityFlags class in the BookieShell class, the option values specified on the command line should be passed to it, but this was not actually done.

@hangc0276 hangc0276 added this to the 4.18.0 milestone May 26, 2026
@hangc0276
hangc0276 merged commit cbb3367 into apache:master May 26, 2026
23 checks passed
@massakam
massakam deleted the fix-cli-opts branch May 27, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants