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

Fix transactions not converting values internally. #727

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

shachlanAmazon
Copy link
Contributor

Renamed send_pipeline to send_transaction, in order to separate it from a function that can handle non-transactional pipeline. Added logic that checks the structure of the response, and converts all values to their expected form.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

assert!(result.is_err());
let err = result.unwrap_err();
assert!(err.is_timeout(), "{err}");
});
}

#[rstest]
// #[timeout(SHORT_CLUSTER_TEST_TIMEOUT)]
Copy link
Collaborator

Choose a reason for hiding this comment

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

why commented out?

Renamed `send_pipeline` to `send_transaction`, in order to separate it
from a function that can handle non-transactional pipeline. Added logic
that checks the structure of the response, and converts all values to
their expected form.
@shachlanAmazon shachlanAmazon merged commit 60ac1c7 into valkey-io:main Dec 27, 2023
20 checks passed
@shachlanAmazon shachlanAmazon deleted the use-transaction branch December 27, 2023 11:18
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