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

Do you plan to release a redislite for Redis 7? #172

Open
steve-mavens opened this issue Apr 12, 2023 · 2 comments
Open

Do you plan to release a redislite for Redis 7? #172

steve-mavens opened this issue Apr 12, 2023 · 2 comments

Comments

@steve-mavens
Copy link

Or if not, are you aware of any alternatives? I could run a real redis instance and connect to it during testing, but redislite is much... lighter :-)

@cunla
Copy link

cunla commented Apr 25, 2023

fakeredis supports redis7

@steve-mavens
Copy link
Author

steve-mavens commented Jun 8, 2023

Thanks. Inspired by fakredis's own tests, what I'm currently considering is to run the my tests in two modes: either with fakeredis or (less frequently) against a real redis instance.

On investigation, it turned out that one main reason our tests weren't all using fakeredis already, is that at the time they were written fakeredis didn't support Redis streams (or didn't support all features of them). That seems long in the past now :-)

(Correction: fakeredis still doesn't support all the stream commands, per https://fakeredis.readthedocs.io/en/latest/redis-commands/Redis/#stream-commands). So, our code that uses consumer groups still needs a real-ish Redis for testing.

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

No branches or pull requests

2 participants