[TODO]: Tests(Fail2Ban) - Make failed login test case reliable #3713
Labels
area/tests
meta/help wanted
The OP requests help from others - chime in! :D
service/security/fail2ban
stale-bot/ignore
Indicates that this issue / PR shall not be closed by our stale-checking CI
Description
This test case is quite flakey, and fails on PRs that have nothing to do with it.
Seems like it's something to do with
_send_email
failing?docker-mailserver/test/tests/parallel/set1/spam_virus/fail2ban.bats
Line 77 in ee87291
docker-mailserver/test/helper/sending.bash
Lines 22 to 34 in ee87291
Specifically this line:
docker-mailserver/test/helper/sending.bash
Line 32 in ee87291
Chances are it's been banned before the test case can check (expects to first succeed with
_send_email
twice?), then:docker-mailserver/test/tests/parallel/set1/spam_virus/fail2ban.bats
Lines 79 to 83 in ee87291
Generally we expect
_send_mail
to be successful when it's used, but this is a situation where it's non-deterministic, sometimes failing.The text was updated successfully, but these errors were encountered: