diff options
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | tests/test_commands.py | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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 diff --git a/tests/test_commands.py b/tests/test_commands.py index 60d1e28..db7f4ad 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -2213,7 +2213,7 @@ class TestRedisCommands(object): # 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 |