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 "Benoit Tellier (Jira)" <se...@james.apache.org> on 2022/05/09 02:03:00 UTC
[jira] [Closed] (JAMES-1324) POP3ServerTest.testKnownUserInboxWithMessages() fails
[ https://issues.apache.org/jira/browse/JAMES-1324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-1324.
---------------------------------
Resolution: Won't Fix
James 2.3 is unmaintained, end of life.
Feel free to reopen if work is planned on this.
> POP3ServerTest.testKnownUserInboxWithMessages() fails
> ------------------------------------------------------
>
> Key: JAMES-1324
> URL: https://issues.apache.org/jira/browse/JAMES-1324
> Project: James Server
> Issue Type: Test
> Components: James Core
> Affects Versions: 2.3.2
> Reporter: Siegfried Goeschl
> Priority: Major
> Fix For: 2.3.3
>
> Attachments: POP3ServerTest.patch
>
>
> POP3ServerTest.setupTestMails() creates two emails
> * a proper one with 92 bytes length
> * the second one is empty
> The testKnownUserInboxWithMessages() deletes the first messages and checks for the size of the second message to ensure it has 92 bytes BUT we get the empty message.
> To make things worse
> * this test fails for the tagged release
> * I think this only went unnoticed because the Ant build was used which does not run the unit tests per default
> * the Ant test can't be run because there is no JUnit library in "./tools/lib"
> * the (outdated) M2 reports the problem as expected
> I attach a patch which fixes the broken test and please add junit to the Ant test class path
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org