Skip to content

Commit

Permalink
Fixes #1116
Browse files Browse the repository at this point in the history
  • Loading branch information
andymccurdy committed Jan 27, 2019
1 parent bfa2e77 commit aaf6e6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
* 3.1.0 (in development)
* Fixed XREADGROUP to return an empty dictionary for messages that
have been deleted but still exist in the unacknowledged queue. Thanks
@xeizmendi. #1116
* Added an owned method to Lock objects. owned returns a boolean
indicating whether the current lock instance still owns the lock.
Thanks Dave Johansen. #1112
Expand Down
2 changes: 1 addition & 1 deletion tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -2213,7 +2213,7 @@ def test_xreadgroup(self, r):
# now there should be nothing pending
assert len(r.xreadgroup(group, consumer,
streams={stream: '0'})[0][1]) == 0

r.xgroup_destroy(stream, group)
r.xgroup_create(stream, group, '0')
# delete all the messages in the stream
Expand Down

0 comments on commit aaf6e6b

Please sign in to comment.