Package: python-redis
Version: 3.0.1-1
Severity: important

>From 
>https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-redis/1389088/log.gz:

  ============================= test session starts 
==============================
  platform linux2 -- Python 2.7.15+, pytest-3.6.4, py-1.7.0, pluggy-0.8.0
  rootdir: /tmp/autopkgtest-lxc.j24ar33k/downtmp/build.2Dl/src, inifile:
  collected 384 items

  tests/test_commands.py ................................................. [ 
12%]
  ........................................................................ [ 
31%]
  ........................................................................ [ 
50%]
  ..........................s......................F............           [ 
66%]
  tests/test_connection_pool.py .......................................... [ 
77%]
  .                                                                        [ 
77%]
  tests/test_encoding.py ......                                            [ 
79%]
  tests/test_lock.py .................                                     [ 
83%]
  tests/test_pipeline.py .................                                 [ 
88%]
  tests/test_pubsub.py ...........................                         [ 
95%]
  tests/test_scripting.py .......                                          [ 
96%]
  tests/test_sentinel.py ............                                      
[100%]

  =================================== FAILURES 
===================================
  ____________________ TestRedisCommands.test_xpending_range 
_____________________

  self = <tests.test_commands.TestRedisCommands object at 0x7f4cf4b410d0>
  r = Redis<ConnectionPool<Connection<host=localhost,port=6379,db=9>>>

      @skip_if_server_version_lt('5.0.0')
      def test_xpending_range(self, r):
          stream = 'stream'
          group = 'group'
          consumer1 = 'consumer1'
          consumer2 = 'consumer2'
          m1 = r.xadd(stream, {'foo': 'bar'})
          m2 = r.xadd(stream, {'foo': 'bar'})
          r.xgroup_create(stream, group, 0)
      
          # xpending range on a group that has no consumers yet
          assert r.xpending_range(stream, group) == []
      
          # read 1 message from the group with each consumer
          r.xreadgroup(group, consumer1, streams={stream: 0}, count=1)
          r.xreadgroup(group, consumer2, streams={stream: m1}, count=1)
      
          response = r.xpending_range(stream, group)
  >       assert len(response) == 2
  E       assert 0 == 2
  E        +  where 0 = len([])

  tests/test_commands.py:2032: AssertionError
  =============== 1 failed, 382 passed, 1 skipped in 10.32 seconds 
===============


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-

Reply via email to