GNU bug report logs -
#39777
[PATCH 0/5] gnu: poetry: Update to 1.0.3.
Previous Next
Full log
Message #101 received at 39777 <at> debbugs.gnu.org (full text, mbox):
Le 03/11, Leo Famulari a écrit :
> On Mon, Mar 09, 2020 at 09:18:18AM +0100, Tanguy Le Carrour wrote:
> > * gnu/packages/python-xyz.scm (python-cachy): Update to 0.3.0.
> > [arguments]: Disable failing tests.
>
> > + (arguments
> > + '(#:phases
> > + (modify-phases %standard-phases
> > + (add-before 'check 'disable-failing-tests
> > + (lambda _
> > + (substitute* "tests/stores/test_memcached_store.py"
> > + (("def test_forever") "def _test_forever")
> > + (("def test_increment") "def _test_increment")
> > + (("def test_decrement") "def _test_decrement")
> > + (("def test_put_numeric_value") "def _test_put_numeric_value")
> > + (("def test_put_value_into_memcache") "def _test_put_value_into_memcache")
> > + (("def test_value_is_returned") "def _test_value_is_returned")
> > + (("def test_value_is_returned_for_numerics") "def _test_value_is_returned_for_numerics"))
> > + #t)))))
>
> Do you have any idea what's going on with these tests?
>
> We should at least add a comment here, explaining why skipping the tests
> is not hiding something that will be a problem while using cachy.
Those ones are out of my comfort zone! :-(
Seems that all the `RedisStoreTestCase` are failing with messages like:
```
ResourceWarning: unclosed <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 33754)>
if self._get_socket():
ResourceWarning: Enable tracemalloc to get the object allocation traceback
```
Might be related to the Redis server that is supposed to be running
during the tests?!
Again, any idea welcome!
--
Tanguy
This bug report was last modified 5 years and 115 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.