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(tests): flaky test case in BLMPOP command #2754

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

git-hulk
Copy link
Member

The root cause should be the blocking callback was triggered after pushing the key1's elements. The key1 will be consumed before key2 because the BLMPOP command will check keys by order when waking up. We can fix this by putting the key1 before key2 so that the key order is always correct even if the blocking callback was delayed.

This closes #2752.

The root cause should be the blocking callback was triggered after
pushing the key1's elements. And the key1 will be consumed before key2
because BLMPOP command will check keys by order when waking up. We can
fix by putting the key1 before key2, so that the key order is always
correct even if the blocking callback was delayed.
@PragmaTwice PragmaTwice merged commit 1308d8a into apache:unstable Jan 31, 2025
35 checks passed
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.

Flaky test about BLMPOP in go cases
3 participants