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

[streams] Blocking reads compare strictly #159

Open
lipinskipawel opened this issue Mar 28, 2024 · 2 comments
Open

[streams] Blocking reads compare strictly #159

lipinskipawel opened this issue Mar 28, 2024 · 2 comments

Comments

@lipinskipawel
Copy link

Hello
I enjoy your website and implementing your challenges are fun :)

However, I think I faced a small bug during streams stage at "Blocking reads" task.
The tester is comparing responses strictly instead of using some sort of containsAll assertion.
Is this intentional or I should fix my code?

image

Copy link

linear bot commented Mar 28, 2024

@rohitpaulk
Copy link
Member

Hey @lipinskipawel! Thanks for reporting this, it looks like the official Redis implementation does always return these in the same order as the stream keys in the command.

I'll keep this open so that we can add a note to the instructions + we'll also see if there's an official note either in the Redis docs / source code about this behaviour that we can link to.

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