Test failure: LocalThreadTest.test_client_cleanup_10 and LocalThreadTest.test_client_cleanup_3

Issue #116 resolved
Anonymous created an issue
=========================== short test summary info ============================
FAIL tests/cache/test_memcached_backend.py::LocalThreadTest::test_client_cleanup_10
FAIL tests/cache/test_memcached_backend.py::LocalThreadTest::test_client_cleanup_3

=================================== FAILURES ===================================
____________________ LocalThreadTest.test_client_cleanup_10 ____________________
Traceback (most recent call last):
  File "/build/dogpile.cache-0.6.4/tests/cache/test_memcached_backend.py", line 283, in test_client_cleanup_10
    self._test_client_cleanup(10)
  File "/build/dogpile.cache-0.6.4/tests/cache/test_memcached_backend.py", line 299, in _test_client_cleanup
    eq_(canary, [i + 1 for i in range(count)])
  File "/build/dogpile.cache-0.6.4/tests/cache/__init__.py", line 11, in eq_
    assert a == b, msg or "%r != %r" % (a, b)
AssertionError: [1, 2, 3, 3, 3, 4, 4, 5, 6, 7] != [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
____________________ LocalThreadTest.test_client_cleanup_3 _____________________
Traceback (most recent call last):
  File "/build/dogpile.cache-0.6.4/tests/cache/test_memcached_backend.py", line 280, in test_client_cleanup_3
    self._test_client_cleanup(3)
  File "/build/dogpile.cache-0.6.4/tests/cache/test_memcached_backend.py", line 299, in _test_client_cleanup
    eq_(canary, [i + 1 for i in range(count)])
  File "/build/dogpile.cache-0.6.4/tests/cache/__init__.py", line 11, in eq_
    assert a == b, msg or "%r != %r" % (a, b)
AssertionError: [1, 2, 2] != [1, 2, 3]
============================ pytest-warning summary ============================
WC1 None [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.
==== 2 failed, 294 passed, 214 skipped, 1 pytest-warnings in 78.44 seconds =====

Comments (2)

  1. Log in to comment