Skip to content

Conversation

@itamarhaber
Copy link
Member

Introduced via typo in #9504. Reported by @sazzad16.

Also adds a sanity test for coverage.

Additional seemingly uncovered CLUSTER subcommands: BUMPEPOCH, COUNT-FAILURE-REPORTS, FORGET, FLUSHSLOTS, KEYSLOT, SAVECONFIG

Copy link
Contributor

@madolson madolson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should figure out a sanity test to make sure we have 100% of commands covered.

@oranagra
Copy link
Member

Maybe we should figure out a sanity test to make sure we have 100% of commands covered.

we can write some code in introspection.tcl that tries to call all commands and sub-commands by parsing the output of COMMAND command, but that would be hard / silly since many commands would fail, and even the ones that succeeds, we won't verify their output.

the better way is to periodically generate coverage report and try to increase coverage..
maybe someday in the future..

@oranagra oranagra merged commit 48e4d77 into redis:unstable Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants