commit:     670728e3cc76e18fd20368db425bacb08c29ba40
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 16 23:59:18 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 17 00:08:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=670728e3

dev-python/cachelib: skip fragile Redis tests

Involves spawning a daemon and that never
seems to go well reliably.

Closes: https://bugs.gentoo.org/818523
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/cachelib/cachelib-0.3.0.ebuild | 6 +++++-
 dev-python/cachelib/cachelib-0.4.1.ebuild | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/dev-python/cachelib/cachelib-0.3.0.ebuild 
b/dev-python/cachelib/cachelib-0.3.0.ebuild
index 3ec6572206d..3655d313ef2 100644
--- a/dev-python/cachelib/cachelib-0.3.0.ebuild
+++ b/dev-python/cachelib/cachelib-0.3.0.ebuild
@@ -17,7 +17,6 @@ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 
 BDEPEND="
        test? (
-               dev-db/redis
                dev-python/pylibmc[${PYTHON_USEDEP}]
                dev-python/pytest-xprocess[${PYTHON_USEDEP}]
                dev-python/redis-py[${PYTHON_USEDEP}]
@@ -26,3 +25,8 @@ BDEPEND="
        )"
 
 distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+       # bug #818523
+       tests/test_redis_cache.py
+)

diff --git a/dev-python/cachelib/cachelib-0.4.1.ebuild 
b/dev-python/cachelib/cachelib-0.4.1.ebuild
index 3ec6572206d..3655d313ef2 100644
--- a/dev-python/cachelib/cachelib-0.4.1.ebuild
+++ b/dev-python/cachelib/cachelib-0.4.1.ebuild
@@ -17,7 +17,6 @@ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 
 BDEPEND="
        test? (
-               dev-db/redis
                dev-python/pylibmc[${PYTHON_USEDEP}]
                dev-python/pytest-xprocess[${PYTHON_USEDEP}]
                dev-python/redis-py[${PYTHON_USEDEP}]
@@ -26,3 +25,8 @@ BDEPEND="
        )"
 
 distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+       # bug #818523
+       tests/test_redis_cache.py
+)

Reply via email to