-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Change in redis-py v5.0.8 causes strange behavior in fakeredis-py #316
Labels
bug
Something isn't working
Comments
I am surprised this is the first time this was mentioned. Anyway, should be fixed. |
Thanks so much for the quick fix, I seriously appreciate what this library has helped me do. Was removing this call to |
yes, it is writing the response a few lines afterwards in the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
fakeredis-py returns unexpected values for
get
that appear to be left over results from the previous commandTo Reproduce
Steps to reproduce the behavior:
Run the following test case with pytest
Expected behavior
Test passes. This test passes with redis-py v5.0.7.
Screenshots
N/A
Desktop (please complete the following information):
Linux 6.10.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 27 Jul 2024 16:49:55 +0000 x86_64 GNU/Linux
Additional context
Doing another
get
(see commented-out line in test case above) seems to re-sync the connection and cause the test to pass.Upvote & Fund
The text was updated successfully, but these errors were encountered: