commit:     29cfe8fc0aa6d451979cb2966414451767d27491
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  2 19:54:41 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul  2 19:55:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29cfe8fc

net-analyzer/fail2ban: skip broken test

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

 net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild | 2 ++
 net-analyzer/fail2ban/fail2ban-9999.ebuild     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild 
b/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
index 51759787dd17..9372d37e5fb4 100644
--- a/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-1.0.2-r1.ebuild
@@ -57,9 +57,11 @@ python_compile() {
 }
 
 python_test() {
+       # Skip testRepairDb for bug #907348 (didn't always fail..)
        bin/fail2ban-testcases \
                --no-network \
                --no-gamin \
+               --ignore databasetestcase.DatabaseTest.testRepairDb \
                --verbosity=4 || die "Tests failed with ${EPYTHON}"
 
        # Workaround for bug #790251

diff --git a/net-analyzer/fail2ban/fail2ban-9999.ebuild 
b/net-analyzer/fail2ban/fail2ban-9999.ebuild
index 80d515fa89e4..19d76da94cf4 100644
--- a/net-analyzer/fail2ban/fail2ban-9999.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-9999.ebuild
@@ -50,8 +50,10 @@ python_prepare_all() {
 }
 
 python_test() {
+       # Skip testRepairDb for bug #907348 (didn't always fail..)
        bin/fail2ban-testcases \
                --no-network \
+               --ignore databasetestcase.DatabaseTest.testRepairDb \
                --verbosity=4 || die "Tests failed with ${EPYTHON}"
 
        # Workaround for bug #790251

Reply via email to