You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <ji...@apache.org> on 2019/01/09 09:50:00 UTC

[jira] [Created] (MAILBOX-377) SpamAssassinInvokerTest::scanMailShouldMarkAsSpamWhenKnownAsSpam is unstable

Tellier Benoit created MAILBOX-377:
--------------------------------------

             Summary: SpamAssassinInvokerTest::scanMailShouldMarkAsSpamWhenKnownAsSpam is unstable
                 Key: MAILBOX-377
                 URL: https://issues.apache.org/jira/browse/MAILBOX-377
             Project: James Mailbox
          Issue Type: Bug
            Reporter: Tellier Benoit


Our build keeps failing with the following message:



{code:java}

[null] [INFO] Running org.apache.james.spamassassin.SpamAssassinInvokerTest
[null] [ERROR] Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 321.98 s <<< FAILURE! - in org.apache.james.spamassassin.SpamAssassinInvokerTest
[null] [ERROR] scanMailShouldMarkAsSpamWhenKnownAsSpam  Time elapsed: 44.248 s  <<< FAILURE!
[null] org.junit.ComparisonFailure: expected:<"[YES]"> but was:<"[NO]">
[null] 	at org.apache.james.spamassassin.SpamAssassinInvokerTest.scanMailShouldMarkAsSpamWhenKnownAsSpam(SpamAssassinInvokerTest.java:85)
[null] 
[null] [INFO] Running org.apache.james.spamassassin.SpamAssassinResultTest
[null] [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.068 s - in org.apache.james.spamassassin.SpamAssassinResultTest
[null] [INFO] 
[null] [INFO] Results:
[null] [INFO] 
[null] [ERROR] Failures: 
[null] [ERROR]   SpamAssassinInvokerTest.scanMailShouldMarkAsSpamWhenKnownAsSpam:85 expected:<"[YES]"> but was:<"[NO]">
{code}

Running the tests locally works fine.

As a temporary workaround we can disable this brittle test.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org