diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2019-01-27 10:46:41 -0800 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2019-01-27 10:46:41 -0800 |
commit | aaf6e6b7157ffd8aca426540b471895ca25d2bf4 (patch) | |
tree | 40904509733336631f210946704bc143aec01950 | |
parent | bfa2e772566e973f8329ca9754d4ef7fbdbce1b0 (diff) | |
download | redis-py-aaf6e6b7157ffd8aca426540b471895ca25d2bf4.tar.gz |
Fixes #1116
-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 |