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 test case for atomic pipeline #702

Merged
merged 1 commit into from
Dec 11, 2022
Merged

add test case for atomic pipeline #702

merged 1 commit into from
Dec 11, 2022

Conversation

CNLHC
Copy link
Contributor

@CNLHC CNLHC commented Oct 30, 2022

redis-test is a convenient tool to write UT, but the correct way to write mock responses for some cases is not obvious.

This PR contains a test case about pipeline with atomic.

This test case may help people find that they should use Value::Bulk as a mock response to test the pipeline with atomic instead of a plain vec.

@jaymell
Copy link
Contributor

jaymell commented Dec 11, 2022

Thanks!

@jaymell jaymell merged commit 98bedb7 into redis-rs:main Dec 11, 2022
nonirosenfeldredis pushed a commit to nonirosenfeldredis/redis-rs that referenced this pull request Feb 13, 2023
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

2 participants