Skip to content

Conversation

@esyr
Copy link
Member

@esyr esyr commented Oct 29, 2025

Apparently, evp_fetch test has an (undocumented) environment variable that allows specifying a fetch algorithm to be fetched exclusively, instead of iterating over all the available ones in a round robin fashion. Define a command-line option for that, similarly to the way other parameters are controlled in other tests, and document it, along with the original environment variable.

Copy link
Contributor

@Sashan Sashan left a comment

Choose a reason for hiding this comment

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

looks good, there is just one nit to get fixed. thanks.

for (i = 0; i < ARRAY_SIZE(type_map); i++) {
if (!strcmp(fetch_type, type_map[i].name)) {
exclusive_fetch_type = type_map[i].id;
if (type_map[i] != NULL, !strcmp(fetch_type, type_map[i])) {
Copy link
Contributor

Choose a reason for hiding this comment

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

s/NULL,/NULL &&

otherwise looks good.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ufff, good catch, thanks! Fixed.

@esyr esyr force-pushed the esyr/evp_fetch-exclusive-type branch from 382a34f to 4ab8e0e Compare October 30, 2025 10:50
@esyr esyr requested a review from Sashan October 30, 2025 10:51
Copy link
Contributor

@Sashan Sashan left a comment

Choose a reason for hiding this comment

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

looks good to me, thanks.

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.

2 participants