Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for multiple arbitrary commands #72

Merged

Conversation

YaacovHazan
Copy link
Collaborator

this commit expand the ability of running arbitrary command
to enable runing multiple arbitrary commands by
adding the --command option for each command.

this commit expand the ability of running arbitrary command
to enable runing multiple arbitrary commands by
adding the --command option for each command.

static bool verify_arbitrary_command_option(struct benchmark_config *cfg) {
if (cfg->key_pattern) {
fprintf(stderr, "error: when using arbitrary command, key pattern doesn't configured via key-pattern option.\n");
Copy link
Contributor

Choose a reason for hiding this comment

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

typo: isn't.
also: maybe hint to the correct option to use?

fprintf(stderr, "error: when using arbitrary command, key pattern doesn't configured via key-pattern option.\n");
return false;
} else if (cfg->ratio.is_defined()) {
fprintf(stderr, "error: when using arbitrary command, ratio doesn't configured via ratio option.\n");
Copy link
Contributor

Choose a reason for hiding this comment

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

same as above.

cr fixes + adding command line usage
@yaacovhazan-Redislabs yaacovhazan-Redislabs merged commit 7cdbaff into RedisLabs:master Apr 29, 2019
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.

None yet

3 participants